C# Class GrandLarceny.MenuState

Inheritance: GrandLarceny.States
显示文件 Open project: melburn/GLhf

Protected Properties

Property Type Description
m_currentButton int
m_hover Color
m_normal Color
m_panningBackground PanningBackground
m_pressed Color
m_toggle Color

Public Methods

Method Description
MenuState ( ) : System
draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
load ( ) : void
moveCurrentHover ( int a_move ) : void
moveCurrentHoverTo ( int a_index ) : void
update ( GameTime a_gameTime ) : void

Private Methods

Method Description
nfmod ( double a, double b ) : double

Method Details

MenuState() public method

public MenuState ( ) : System
return System

draw() public method

public draw ( GameTime a_gameTime, SpriteBatch a_spriteBatch ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
a_spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

load() public method

public load ( ) : void
return void

moveCurrentHover() public method

public moveCurrentHover ( int a_move ) : void
a_move int
return void

moveCurrentHoverTo() public method

public moveCurrentHoverTo ( int a_index ) : void
a_index int
return void

update() public method

public update ( GameTime a_gameTime ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

m_currentButton protected_oe property

protected int m_currentButton
return int

m_hover protected_oe property

protected Color m_hover
return Color

m_normal protected_oe property

protected Color m_normal
return Color

m_panningBackground protected_oe static_oe property

protected static PanningBackground,GrandLarceny m_panningBackground
return PanningBackground

m_pressed protected_oe property

protected Color m_pressed
return Color

m_toggle protected_oe property

protected Color m_toggle
return Color