C# Class MrGravity.Menu_Code.Options

Afficher le fichier Open project: DizWARE/Mr-Gravity Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( GameTime gametime, SpriteBatch spriteBatch, Matrix scale ) : void
GetRegion ( MenuChoices choice, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Rectangle
Load ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Options ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System
Update ( GameTime gametime, GameStates &states, Level mainMenuLevel ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gametime, SpriteBatch spriteBatch, Matrix scale ) : void
gametime Microsoft.Xna.Framework.GameTime
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
scale Matrix
Résultat void

GetRegion() public méthode

public GetRegion ( MenuChoices choice, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : Rectangle
choice MenuChoices
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework.Rectangle

Load() public méthode

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

Options() public méthode

public Options ( IControlScheme controlScheme, GraphicsDeviceManager graphics ) : System
controlScheme IControlScheme
graphics GraphicsDeviceManager
Résultat System

Update() public méthode

public Update ( GameTime gametime, GameStates &states, Level mainMenuLevel ) : void
gametime Microsoft.Xna.Framework.GameTime
states GameStates
mainMenuLevel Level
Résultat void