C# Class Asteroids.OptionsText

Afficher le fichier Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
Init ( ) : void
OptionsText ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txBackground, Microsoft.Xna.Framework.Graphics.Texture2D txBack, Vector2 posBack, Vector2 sizeBack, Microsoft.Xna.Framework.Graphics.Texture2D txSelectArrow, Vector2 posSelectArrow, Vector2 sizeSelectArrow, SpriteFont spriteFont, string textHeader, Vector2 posHeader, string textSound, Vector2 posSound, string textResolution, Vector2 posResolution, string textAlias, Vector2 posAlias, string textAliasOn, Vector2 posAliasOn, string textAliasOff, Vector2 posAliasOff, Color col ) : System
Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : bool
UpdateSelect ( int number ) : void

Method Details

Draw() public méthode

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

Init() public méthode

public Init ( ) : void
Résultat void

OptionsText() public méthode

public OptionsText ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txBackground, Microsoft.Xna.Framework.Graphics.Texture2D txBack, Vector2 posBack, Vector2 sizeBack, Microsoft.Xna.Framework.Graphics.Texture2D txSelectArrow, Vector2 posSelectArrow, Vector2 sizeSelectArrow, SpriteFont spriteFont, string textHeader, Vector2 posHeader, string textSound, Vector2 posSound, string textResolution, Vector2 posResolution, string textAlias, Vector2 posAlias, string textAliasOn, Vector2 posAliasOn, string textAliasOff, Vector2 posAliasOff, Color col ) : System
graphics GraphicsDeviceManager
txBackground Microsoft.Xna.Framework.Graphics.Texture2D
txBack Microsoft.Xna.Framework.Graphics.Texture2D
posBack Vector2
sizeBack Vector2
txSelectArrow Microsoft.Xna.Framework.Graphics.Texture2D
posSelectArrow Vector2
sizeSelectArrow Vector2
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
textHeader string
posHeader Vector2
textSound string
posSound Vector2
textResolution string
posResolution Vector2
textAlias string
posAlias Vector2
textAliasOn string
posAliasOn Vector2
textAliasOff string
posAliasOff Vector2
col Color
Résultat System

Update() public méthode

public Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : bool
mouse Microsoft.Xna.Framework.Input.MouseState
Résultat bool

UpdateSelect() public méthode

public UpdateSelect ( int number ) : void
number int
Résultat void