Midnight Blue Game and Engine
Public Member Functions | List of all members
MB2D.Testing.UITest Class Reference
Inheritance diagram for MB2D.Testing.UITest:
Inheritance graph
Collaboration diagram for MB2D.Testing.UITest:
Collaboration graph

Public Member Functions

 UITest (EntityMap map, ContentManager content)
 
override void Initialize ()
 Initialize this scene and loads all resources. Runs logic to execute during the Initializing state. Set state to None to end. More...
 
override void HandleInput ()
 Handles all input for the scene More...
 
override void Update ()
 Updates game logic and changes scene state. More...
 
override void Draw (SpriteBatch spriteBatch, SpriteBatch uiSpriteBatch)
 Draws entities and UI elements to the specfied SpriteBatches More...
 
override void Exit ()
 Runs logic to execute while the scene is in the Exiting state. Set state to Null to end. More...
 
override void Pause ()
 Runs logic to execute while the scene is in the Pausing state. Set state to None to end. More...
 
override void Resume ()
 Runs logic to execute while the scene is in the Resuming state. Set state to None to end. 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...
 

Member Function Documentation

§ Draw()

override void MB2D.Testing.UITest.Draw ( SpriteBatch  spriteBatch,
SpriteBatch  uiSpriteBatch 
)
inlinevirtual

Draws entities and UI elements to the specfied SpriteBatches

Parameters
spriteBatchWorld-coordinate based sprite batch.
uiSpriteBatchCamera-based User Interface sprite batch.

Implements MB2D.Scenes.Scene.

Here is the call graph for this function:

§ Exit()

override void MB2D.Testing.UITest.Exit ( )
inlinevirtual

Runs logic to execute while the scene is in the Exiting state. Set state to Null to end.

Implements MB2D.Scenes.Scene.

§ HandleInput()

override void MB2D.Testing.UITest.HandleInput ( )
inlinevirtual

Handles all input for the scene

Implements MB2D.Scenes.Scene.

§ Initialize()

override void MB2D.Testing.UITest.Initialize ( )
inlinevirtual

Initialize this scene and loads all resources. Runs logic to execute during the Initializing state. Set state to None to end.

Implements MB2D.Scenes.Scene.

§ Pause()

override void MB2D.Testing.UITest.Pause ( )
inlinevirtual

Runs logic to execute while the scene is in the Pausing state. Set state to None to end.

Implements MB2D.Scenes.Scene.

§ Resume()

override void MB2D.Testing.UITest.Resume ( )
inlinevirtual

Runs logic to execute while the scene is in the Resuming state. Set state to None to end.

Implements MB2D.Scenes.Scene.

§ Update()

override void MB2D.Testing.UITest.Update ( )
inlinevirtual

Updates game logic and changes scene state.

Implements MB2D.Scenes.Scene.

Here is the call graph for this function:

The documentation for this class was generated from the following file: