C# Class MOTB.Menu

Afficher le fichier Open project: GCGC-Ben/GameClubTesting Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch sb ) : void
Menu ( Vector2 origin, int numButtons, List buttonNumbers ) : System
getButtonTxt ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
loadButton ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
update ( ) : int

Method Details

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Menu() public méthode

public Menu ( Vector2 origin, int numButtons, List buttonNumbers ) : System
origin Vector2
numButtons int
buttonNumbers List
Résultat System

getButtonTxt() public static méthode

public static getButtonTxt ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

loadButton() public static méthode

public static loadButton ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

update() public méthode

public update ( ) : int
Résultat int