C# Class CarpMuffin.Screens.Screen

Base for all screens
Inheritance: IScreen
Afficher le fichier Open project: BetaToast/CarpMuffin

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Screen ( ) : System

Method Details

Draw() public abstract méthode

public abstract Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

ListenForMessage() public méthode

public ListenForMessage ( string id, Action action ) : void
id string
action Action
Résultat void

LoadContent() public abstract méthode

public abstract LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

Screen() protected méthode

protected Screen ( ) : System
Résultat System

SendMessage() public méthode

public SendMessage ( string to, object what ) : void
to string
what object
Résultat void

Update() public abstract méthode

public abstract Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void