[This is preliminary documentation and is subject to change.]
The GameScreen type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GameScreen | Initializes a new instance of the GameScreen class |
Methods
| Name | Description | |
|---|---|---|
| BeginLoad | ||
| Draw | ||
| 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.) | |
| Load |
Normal Load, Update, Draw methods
Load is threaded
| |
| LoadDraw | ||
| LoadGameScreenAsync | ||
| LoadUpdate | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnPop | ||
| PreLoad |
Methods for Load, Update, Draw for use when making a loading screen for a given game screen
- This Update and Draw is used while waiting for the asynchronous load to finish
- PreLoad is a synchronous load called before the asynchronous load starts
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Fields
| Name | Description | |
|---|---|---|
| Engine |
Engine instance for the game screen to leverage
| |
| LoadScreen |
Lets ScreenService know if this screen has a LoadScreen section
|
Properties
| Name | Description | |
|---|---|---|
| HasLoadScreen | ||
| IsLoaded |
See Also