C# Class PGCGame.Screens.BaseSelectScreen

Inheritance: PGCGame.CoreTypes.BaseScreen
ファイルを表示 Open project: GreatMindsRobotics/PGCGame

Protected Properties

Property Type Description
_firstTimeInit bool
acceptButton Sprite
acceptLabel Glib.XNA.SpriteLib.TextSprite
backButton Sprite
backLabel Glib.XNA.SpriteLib.TextSprite
items TextSprite>>.List
leftLabel Glib.XNA.SpriteLib.TextSprite
nameLabel Glib.XNA.SpriteLib.TextSprite
rightLabel Glib.XNA.SpriteLib.TextSprite
selected int

Public Methods

Method Description
BaseSelectScreen ( SpriteBatch spriteBatch ) : System
InitScreen ( ScreenType screenType ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
Buttons_AButtonPressed ( object sender, EventArgs e ) : void
Buttons_LeftShoulderPressed ( object sender, EventArgs e ) : void
Buttons_RightShoulderPressed ( object sender, EventArgs e ) : void
StateManager_ScreenStateChanged ( object sender, EventArgs e ) : void
backButton_MouseEnter ( object sender, EventArgs e ) : void
backButton_MouseLeave ( object sender, EventArgs e ) : void
leftButton_MouseEnter ( object sender, EventArgs e ) : void
leftButton_MouseLeave ( object sender, EventArgs e ) : void
playButton_MouseEnter ( object sender, EventArgs e ) : void
playButton_MouseLeave ( object sender, EventArgs e ) : void
rightButton_MouseEnter ( object sender, EventArgs e ) : void
rightButton_MouseLeave ( object sender, EventArgs e ) : void

Method Details

BaseSelectScreen() public method

public BaseSelectScreen ( SpriteBatch spriteBatch ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return System

Buttons_AButtonPressed() protected method

protected Buttons_AButtonPressed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Buttons_LeftShoulderPressed() protected method

protected Buttons_LeftShoulderPressed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Buttons_RightShoulderPressed() protected method

protected Buttons_RightShoulderPressed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

InitScreen() public method

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

StateManager_ScreenStateChanged() protected method

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

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

backButton_MouseEnter() protected method

protected backButton_MouseEnter ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

backButton_MouseLeave() protected method

protected backButton_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

leftButton_MouseEnter() protected method

protected leftButton_MouseEnter ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

leftButton_MouseLeave() protected method

protected leftButton_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

playButton_MouseEnter() protected method

protected playButton_MouseEnter ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

playButton_MouseLeave() protected method

protected playButton_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rightButton_MouseEnter() protected method

protected rightButton_MouseEnter ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

rightButton_MouseLeave() protected method

protected rightButton_MouseLeave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

_firstTimeInit protected_oe property

protected bool _firstTimeInit
return bool

acceptButton protected_oe property

protected Sprite acceptButton
return Sprite

acceptLabel protected_oe property

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

backButton protected_oe property

protected Sprite backButton
return Sprite

backLabel protected_oe property

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

items protected_oe property

protected List> items
return TextSprite>>.List

leftLabel protected_oe property

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

nameLabel protected_oe property

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

rightLabel protected_oe property

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

selected protected_oe property

protected int selected
return int