C# Class Asteroids.TResolutionOption

Datei anzeigen Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
ChangeResolution ( Vector2 screen ) : void
Draw ( SpriteBatch spriteBatch, SpriteFont spriteFont ) : void
GetResolutionChanged ( ) : bool
Init ( ) : void
SelectLeft ( ) : void
SelectRight ( ) : void
TResolutionOption ( Game1 structOptionsMain, StructResolution structResolution ) : System
TResolutionOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txResolutionBar, Microsoft.Xna.Framework.Graphics.Texture2D txArrowLeft, Microsoft.Xna.Framework.Graphics.Texture2D txArrowRight, Vector2 posResolutionBar, Vector2 sizeResolutionBar, Vector2 posArrowLeft, Vector2 posArrowRight, Vector2 sizeArrow, Color col ) : System
Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : void

Method Details

ChangeResolution() public method

public ChangeResolution ( Vector2 screen ) : void
screen Vector2
return void

Draw() public method

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

GetResolutionChanged() public method

public GetResolutionChanged ( ) : bool
return bool

Init() public method

public Init ( ) : void
return void

SelectLeft() public method

public SelectLeft ( ) : void
return void

SelectRight() public method

public SelectRight ( ) : void
return void

TResolutionOption() public method

public TResolutionOption ( Game1 structOptionsMain, StructResolution structResolution ) : System
structOptionsMain Game1
structResolution StructResolution
return System

TResolutionOption() public method

public TResolutionOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txResolutionBar, Microsoft.Xna.Framework.Graphics.Texture2D txArrowLeft, Microsoft.Xna.Framework.Graphics.Texture2D txArrowRight, Vector2 posResolutionBar, Vector2 sizeResolutionBar, Vector2 posArrowLeft, Vector2 posArrowRight, Vector2 sizeArrow, Color col ) : System
graphics GraphicsDeviceManager
txResolutionBar Microsoft.Xna.Framework.Graphics.Texture2D
txArrowLeft Microsoft.Xna.Framework.Graphics.Texture2D
txArrowRight Microsoft.Xna.Framework.Graphics.Texture2D
posResolutionBar Vector2
sizeResolutionBar Vector2
posArrowLeft Vector2
posArrowRight Vector2
sizeArrow Vector2
col Color
return System

Update() public method

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