C# Class UHSampleGame.MenuSystem.MenuEntry

Afficher le fichier Open project: holtkampw/UH-Sample-XNA-Project Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnSelectEntry ( ) : void

Method Details

Draw() public méthode

public Draw ( MenuScreen screen, Vector2 position, bool isSelected ) : void
screen MenuScreen
position Vector2
isSelected bool
Résultat void

GetHeight() public méthode

public GetHeight ( ) : int
Résultat int

MenuEntry() public méthode

public MenuEntry ( string text ) : System
text string
Résultat System

MenuEntry() public méthode

public MenuEntry ( string text, bool enabled ) : System
text string
enabled bool
Résultat System

OnSelectEntry() protected méthode

protected OnSelectEntry ( ) : void
Résultat void

Update() public méthode

public Update ( MenuScreen screen, bool isSelected ) : void
screen MenuScreen
isSelected bool
Résultat void