메소드 | 설명 | |
---|---|---|
Draw ( |
Draws the top state.
|
|
Initialize ( ) : void |
Initialize the state manager
|
|
IsEmpty ( ) : bool | ||
PopAllStates ( ) : void |
Removes all states.
|
|
PopState ( ) : void |
Removes the top state.
|
|
PushState ( |
Adds a new state.
|
|
Update ( |
Updates the top state. Called every frame.
|
메소드 | 설명 | |
---|---|---|
drawState ( |
public static Draw ( |
||
spriteBatch | The SpriteBatch object to use for drawing. | |
리턴 | void |
public static Update ( |
||
gameTime | ||
리턴 | void |