[This is preliminary documentation and is subject to change.]
The ScreenService type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ScreenService |
Let RapidEngine know this Service Draws to the screen
|
Methods
| Name | Description | |
|---|---|---|
| Draw |
Draws the top game screen, and then if there is a popup screen draws the top popup screen on top of the game screen
- Adjusts depending on whether the screens are loading or not
(Overrides RapidService Draw(GameTime).) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Init | (Overrides RapidService Init .) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Pause | ||
| Remove |
Remove the top game screen
| |
| RemovePopup |
Remove the top popup
| |
| Show |
Add a new game screen to the top of the stack
- You cannot add a game screen multiple times
| |
| ShowPopup |
Add a new popup screen to the top of the stack
- You cannot add a popup screen multiple times
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Update either the top popup screen or the top game screen
- Adjusts according to if the screen has a loadscreen or on
(Overrides RapidService Update(GameTime).) |
Fields
| Name | Description | |
|---|---|---|
| DrawEnabled |
DrawEnabled: tells RapidEngine if this Service needs to draw anything
(Inherited from RapidService.) | |
| Engine |
Engine instance for the Service to use
(Inherited from RapidService.) |
Properties
| Name | Description | |
|---|---|---|
| Paused |
See Also