C# Class PGCGame.CoreTypes.BaseScreen

Inheritance: Glib.XNA.SpriteLib.Screen
显示文件 Open project: GreatMindsRobotics/PGCGame

Public Properties

Property Type Description
RunNextUpdate PGCGame.CoreTypes.Delegates.ReturnLessFunc

Protected Properties

Property Type Description
AllButtons Glib.XNA.InputLib.GamePadButtonEnumerator
aButton Sprite
aLabel Glib.XNA.SpriteLib.TextSprite
bButton Sprite
bLabel Glib.XNA.SpriteLib.TextSprite

Public Methods

Method Description
BaseScreen ( SpriteBatch spriteBatch, Color color ) : System
Buttons_BButtonPressed ( object sender, EventArgs e ) : void
InitScreen ( ScreenType screenName ) : void
StateManager_ScreenStateChanged ( object sender, EventArgs e ) : void
Update ( GameTime gameTime ) : void

Method Details

BaseScreen() public method

public BaseScreen ( SpriteBatch spriteBatch, Color color ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
color Color
return System

Buttons_BButtonPressed() public method

public Buttons_BButtonPressed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

InitScreen() public method

public InitScreen ( ScreenType screenName ) : void
screenName ScreenType
return void

StateManager_ScreenStateChanged() public method

public StateManager_ScreenStateChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Update() public method

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

Property Details

AllButtons protected_oe property

protected GamePadButtonEnumerator,Glib.XNA.InputLib AllButtons
return Glib.XNA.InputLib.GamePadButtonEnumerator

RunNextUpdate public_oe property

public PGCGame.CoreTypes.Delegates.ReturnLessFunc RunNextUpdate
return PGCGame.CoreTypes.Delegates.ReturnLessFunc

aButton protected_oe property

protected Sprite aButton
return Sprite

aLabel protected_oe property

protected TextSprite,Glib.XNA.SpriteLib aLabel
return Glib.XNA.SpriteLib.TextSprite

bButton protected_oe property

protected Sprite bButton
return Sprite

bLabel protected_oe property

protected TextSprite,Glib.XNA.SpriteLib bLabel
return Glib.XNA.SpriteLib.TextSprite