C# Class Asteroids.OptionsText

Mostra file Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method 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 method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Init() public method

public Init ( ) : void
return void

OptionsText() public method

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
return System

Update() public method

public Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : bool
mouse Microsoft.Xna.Framework.Input.MouseState
return bool

UpdateSelect() public method

public UpdateSelect ( int number ) : void
number int
return void