메소드 | 설명 | |
---|---|---|
AddScreen ( |
Adds a new screen to the screen manager.
|
|
Draw ( |
Tells each screen to draw itself.
|
|
Initialize ( ) : void |
Initializes the screen manager component.
|
|
RemoveScreen ( |
Removes a screen from the screen manager. You should normally use GameScreen.ExitScreen instead of calling this directly, so the screen can gradually transition off rather than just being instantly removed.
|
|
ScreenManager ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic |
Constructs a new screen manager component.
|
|
Update ( |
Allows each screen to run logic.
|
메소드 | 설명 | |
---|---|---|
LoadContent ( ) : void |
Load your graphics content.
|
|
UnloadContent ( ) : void |
Unload your graphics content.
|
public Draw ( |
||
gameTime | ||
리턴 | void |
public ScreenManager ( Microsoft.Xna.Framework.Game game ) : System.Collections.Generic | ||
game | Microsoft.Xna.Framework.Game | |
리턴 | System.Collections.Generic |
public Update ( |
||
gameTime | ||
리턴 | void |