C# Class Asteroids.TResolutionOption

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

Méthodes publiques

Méthode 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 méthode

public ChangeResolution ( Vector2 screen ) : void
screen Vector2
Résultat void

Draw() public méthode

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

GetResolutionChanged() public méthode

public GetResolutionChanged ( ) : bool
Résultat bool

Init() public méthode

public Init ( ) : void
Résultat void

SelectLeft() public méthode

public SelectLeft ( ) : void
Résultat void

SelectRight() public méthode

public SelectRight ( ) : void
Résultat void

TResolutionOption() public méthode

public TResolutionOption ( Game1 structOptionsMain, StructResolution structResolution ) : System
structOptionsMain Game1
structResolution StructResolution
Résultat System

TResolutionOption() public méthode

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
Résultat System

Update() public méthode

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