Class EngineStates
Different states the engine can be in. You can query engine states to better understand whats going on while debugging.
Inheritance
System.Object
EngineStates
Namespace: BonEngineSharp.Defs
Assembly: BonEngineSharp.dll
Syntax
public sealed class EngineStates : Enum
Fields
BeforeInitialize
Engine was not initialized yet.
Declaration
public const EngineStates BeforeInitialize
Field Value
| Type | Description |
|---|---|
| EngineStates |
Destroyed
Engine is completely stopped and destroyed.
Declaration
public const EngineStates Destroyed
Field Value
| Type | Description |
|---|---|
| EngineStates |
DrawImage
Engine is drawing.
Declaration
public const EngineStates DrawImage
Field Value
| Type | Description |
|---|---|
| EngineStates |
FixedUpdate
Engine is doing fixed updates.
Declaration
public const EngineStates FixedUpdate
Field Value
| Type | Description |
|---|---|
| EngineStates |
HandleEvents
Engine is handling events.
Declaration
public const EngineStates HandleEvents
Field Value
| Type | Description |
|---|---|
| EngineStates |
Initialize
Engine is initializing now.
Declaration
public const EngineStates Initialize
Field Value
| Type | Description |
|---|---|
| EngineStates |
InternalUpdate
Engine is doing managers updates.
Declaration
public const EngineStates InternalUpdate
Field Value
| Type | Description |
|---|---|
| EngineStates |
MainLoopInBetweens
Engine is doing other main-loop code that isn't updates or drawing.
Declaration
public const EngineStates MainLoopInBetweens
Field Value
| Type | Description |
|---|---|
| EngineStates |
Stopping
Engine is stopping.
Declaration
public const EngineStates Stopping
Field Value
| Type | Description |
|---|---|
| EngineStates |
SwitchScene
Engine is currently switching scenes (not set on first scene set).
Declaration
public const EngineStates SwitchScene
Field Value
| Type | Description |
|---|---|
| EngineStates |
Update
Engine is doing regular updates.
Declaration
public const EngineStates Update
Field Value
| Type | Description |
|---|---|
| EngineStates |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |