프로퍼티 | 타입 | 설명 | |
---|---|---|---|
music | Song |
메소드 | 설명 | |
---|---|---|
Activate ( bool instancePreserved ) : void |
Loads graphics content for this screen. The background texture is quite big, so we use our own local ContentManager to load it. This allows us to unload before going from the menus into the game itself, wheras if we used the shared ContentManager provided by the Game class, the content would remain loaded forever.
|
|
BackgroundScreen ( ) : System |
Constructor.
|
|
Draw ( |
Draws the background screen.
|
|
Unload ( ) : void |
Unloads graphics content for this screen.
|
|
Update ( |
Updates the background screen. Unlike most screens, this should not transition off even if it has been covered by another screen: it is supposed to be covered, after all! This overload forces the coveredByOtherScreen parameter to false in order to stop the base Update method wanting to transition off.
|
public Draw ( |
||
gameTime | ||
리턴 | void |
public Update ( |
||
gameTime | ||
otherScreenHasFocus | bool | |
coveredByOtherScreen | bool | |
리턴 | void |