[This is preliminary documentation and is subject to change.]
The EngineServices type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| EngineServices |
The default constructor instantiates a local object of the RapidEngine.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Add a service to the Services structure
| |
| Draw |
Draws each service that has DrawEnabled=true
- No special ordering
| |
| Equals | (Inherited from Object.) | |
| Exit |
This function should theoretically kill the main instance of the game and the RapidEngine.
There is a bug in RapidXNA 3.0 where this may not happen.
Rather use the XNA exit function to kill the game.
| |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| First T |
Gives the first instance found of a Service type
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Update all the services
- Updates ScreenService last for most up-to-date input snapshots
|
Properties
| Name | Description | |
|---|---|---|
| Item |
Retrieve a service by ID
|
See Also