C# Class CarpMuffin.Screens.Screen

Base for all screens
Inheritance: IScreen
Show file Open project: BetaToast/CarpMuffin

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
ListenForMessage ( string id, Action action ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SendMessage ( string to, object what ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
Screen ( ) : System

Method Details

Draw() public abstract method

public abstract Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

ListenForMessage() public method

public ListenForMessage ( string id, Action action ) : void
id string
action Action
return void

LoadContent() public abstract method

public abstract LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

Screen() protected method

protected Screen ( ) : System
return System

SendMessage() public method

public SendMessage ( string to, object what ) : void
to string
what object
return void

Update() public abstract method

public abstract Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void