Midnight Blue Game and Engine
|
The scene shown at the title screen. More...
Public Member Functions | |
TitleScene (EntityMap map, ContentManager content) | |
Initializes a new instance of the T:MidnightBlue.TitleScene class. More... | |
override void | Initialize () |
Creates the UIView and starts the background music. More... | |
override void | HandleInput () |
Handles the input for the menu. More... | |
override void | Update () |
Updates the UI More... | |
override void | Draw (SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch) |
Draws the UI to the uiSpriteBatch More... | |
override void | Exit () |
Stops the music and quits instantly More... | |
override void | Pause () |
Pauses the title screen, fading music while it does so. More... | |
override void | Resume () |
Resumes the title screen, fading music in while it does so. More... | |
Public Member Functions inherited from MB2D.Scenes.Scene | |
Scene (EntityMap gameObjects, ContentManager content) | |
Initializes a new instance of the T:MB2D.Scenes.Scene class with a pre-existing EntityMap More... | |
void | UpdateTransition () |
void | Cleanup () |
Cleans up the scene and unloads content. More... | |
Additional Inherited Members | |
Properties inherited from MB2D.Scenes.Scene | |
EntityMap | GameObjects [get] |
Gets all entities allocated to the scene More... | |
TransitionState | TransitionState [get, set] |
Gets or sets the current transition state of the scene. This causes the scene stack to change the scenes state on the next frame. More... | |
TransitionState | PreviousTransitionState [get] |
Gets the state the scene was in during the last frame. More... | |
Color | WindowBackgroundColor [get, set] |
Gets or sets the color of the window background for this scene. More... | |
SceneStack | SceneController [get, set] |
Gets or sets the scene controller. More... | |
ContentManager | Content [get] |
Gets the content manager for loading and unloading resources. More... | |
float | DeltaTime [get, set] |
Gets or sets the delta time value. More... | |
The scene shown at the title screen.
|
inline |
Initializes a new instance of the T:MidnightBlue.TitleScene class.
map | Game objects. |
content | Content manager for loading textures and sounds. |
|
inlinevirtual |
Draws the UI to the uiSpriteBatch
spriteBatch | Sprite batch for world-based entities. |
uiSpriteBatch | User interface sprite batch. |
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Stops the music and quits instantly
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Handles the input for the menu.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Creates the UIView and starts the background music.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Pauses the title screen, fading music while it does so.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |
Resumes the title screen, fading music in while it does so.
Implements MB2D.Scenes.Scene.
|
inlinevirtual |