Свойство | Type | Description | |
---|---|---|---|
Camera | |||
Entities | EntityManager | ||
Map |
Méthode | 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).
|
Méthode | Description | |
---|---|---|
State ( ) : System |
Méthode | Description | |
---|---|---|
UpdateInternal ( ) : void |
public ProcessEvent ( |
||
args | ||
Résultat | bool |