C# Class UHSampleGame.MenuSystem.MenuEntry

Mostra file Open project: holtkampw/UH-Sample-XNA-Project Class Usage Examples

Public Methods

Method Description
Draw ( MenuScreen screen, Vector2 position, bool isSelected ) : void
GetHeight ( ) : int
MenuEntry ( string text ) : System
MenuEntry ( string text, bool enabled ) : System
Update ( MenuScreen screen, bool isSelected ) : void

Protected Methods

Method Description
OnSelectEntry ( ) : void

Method Details

Draw() public method

public Draw ( MenuScreen screen, Vector2 position, bool isSelected ) : void
screen MenuScreen
position Vector2
isSelected bool
return void

GetHeight() public method

public GetHeight ( ) : int
return int

MenuEntry() public method

public MenuEntry ( string text ) : System
text string
return System

MenuEntry() public method

public MenuEntry ( string text, bool enabled ) : System
text string
enabled bool
return System

OnSelectEntry() protected method

protected OnSelectEntry ( ) : void
return void

Update() public method

public Update ( MenuScreen screen, bool isSelected ) : void
screen MenuScreen
isSelected bool
return void