| GeonBitMain Class |
Namespace: GeonBit
public class GeonBitMain : EasyManagersGetters
The GeonBitMain type exposes the following members.
| Name | Description | |
|---|---|---|
| ActiveScene | Get the ActiveScene this entity is inside. (Inherited from EasyManagersGetters.) | |
| Application | Get the Application manager. (Inherited from EasyManagersGetters.) | |
| ConfigStorage | Get the config storage manager. (Inherited from EasyManagersGetters.) | |
| DebugMode |
Return if we are currently in debug mode.
| |
| Diagnostic | Get the Diagnostic manager. (Inherited from EasyManagersGetters.) | |
| GameFiles | Get the game files manager. (Inherited from EasyManagersGetters.) | |
| GameInput | Get the Input manager. (Inherited from EasyManagersGetters.) | |
| GraphicsManager | Get the Graphics manager. (Inherited from EasyManagersGetters.) | |
| Instance |
Get main instance.
| |
| Plugins | Get the plugins manager. (Inherited from EasyManagersGetters.) | |
| Prototypes | Get the Prototypes manager. (Inherited from EasyManagersGetters.) | |
| Resources | Get resources manager. (Inherited from EasyManagersGetters.) | |
| ScenePhysics | Get the currently active physical world. (Inherited from EasyManagersGetters.) | |
| SoundManager | Get the Sound manager. (Inherited from EasyManagersGetters.) | |
| TimeManager | Get the TimeManager manager. (Inherited from EasyManagersGetters.) | |
| UiEnabled |
Get if the built-in UI system currently enabled.
|
| Name | Description | |
|---|---|---|
| Draw |
Draw everything.
Note: need to be called after clearing the device.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Initialize |
Initialize engine.
| |
| RegisterManager |
Register a manager class.
Note: must be called before calling Initialize().
| |
| Run |
Run GeonBit engine.
Call this function from your program Main() function, with the implementation of your GeonBitGame class.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Do per-frame events (call this inside your Update() function).
|
| Name | Description | |
|---|---|---|
| MaxTimeFactorToRun |
If time factor in current frame (eg seconds passed from last frame) is bigger than this number,
skip current frame. This is to prevent buggy behavior when getting focus back / continue after
debugging for too long.
| |
| PauseWhenNotFocused |
If true, will not run when application is not focused.
| |
| VERSION | Current GeonBit version identifier. |