C# Class Myre.StateManagement.Screen

Inheritance: IDisposable
Datei anzeigen Open project: martindevans/Myre Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Draw ( Microsoft.Xna.Framework.GameTime gameTime ) : void

Draws this instance.

PrepareDraw ( ) : void

Prepares the draw.

Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void

Updates the screen.

Protected Methods

Method Description
BeginTransitionOff ( ) : void

Called when the screen begins transitioning off

BeginTransitionOn ( ) : void

Called when the screen begins transitioning on

Dispose ( bool disposing ) : void
OnHidden ( ) : void

Called when the screen state changes to hidden.

OnShown ( ) : void

Called when the screen state changes to visible.

Method Details

BeginTransitionOff() protected method

Called when the screen begins transitioning off
protected BeginTransitionOff ( ) : void
return void

BeginTransitionOn() protected method

Called when the screen begins transitioning on
protected BeginTransitionOn ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() public method

Draws this instance.
public Draw ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
return void

OnHidden() protected method

Called when the screen state changes to hidden.
protected OnHidden ( ) : void
return void

OnShown() protected method

Called when the screen state changes to visible.
protected OnShown ( ) : void
return void

PrepareDraw() public method

Prepares the draw.
public PrepareDraw ( ) : void
return void

Update() public method

Updates the screen.
public Update ( Microsoft.Xna.Framework.GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime The game time.
return void