Property | Type | Description | |
---|---|---|---|
Camera | |||
Entities | EntityManager | ||
Map |
Method | Description | |
---|---|---|
Draw ( RenderTarget rt ) : void |
Called once per frame, right after Update. Avoid putting game login in here.
|
|
Enter ( ) : void |
Called when a State is added to the game. InitializeCamera is called here by default.
|
|
InitializeCamera ( ) : void |
Called when the State's Camera needs to be (re)initialized.
|
|
Leave ( ) : void |
Called when a State is removed from the game.
|
|
ProcessEvent ( |
||
Update ( ) : void |
Update is called once every Timestep. Game logic should be handled here (movement, animations, etc).
|
Method | Description | |
---|---|---|
State ( ) : System |
Method | Description | |
---|---|---|
UpdateInternal ( ) : void |
public ProcessEvent ( |
||
args | ||
return | bool |