C# Class Asteroids.TSoundOption

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

Méthodes publiques

Méthode Description
BarCursorHeigthConvert ( ) : int
ChangeVolume ( float volume ) : void
DistanceCalculate ( float count ) : float
Draw ( SpriteBatch sprite ) : void
Init ( ) : void
MakeResolutionArray ( ) : void
MoveCurser ( float x ) : void
SelectLeft ( ) : void
SelectRight ( ) : void
TSoundOption ( Game1 structOptionsMain, StructSound structSound ) : System
TSoundOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txSoundBar, Microsoft.Xna.Framework.Graphics.Texture2D txBarCursor, Microsoft.Xna.Framework.Graphics.Texture2D txArrowLeft, Microsoft.Xna.Framework.Graphics.Texture2D txArrowRight, Vector2 posSoundBar, Vector2 sizeSoundBar, Vector2 sizeBarCursor, Vector2 posArrowLeft, Vector2 posArrowRight, Vector2 sizeArrow, Color col ) : System
Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : void

Method Details

BarCursorHeigthConvert() public méthode

public BarCursorHeigthConvert ( ) : int
Résultat int

ChangeVolume() public méthode

public ChangeVolume ( float volume ) : void
volume float
Résultat void

DistanceCalculate() public méthode

public DistanceCalculate ( float count ) : float
count float
Résultat float

Draw() public méthode

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

Init() public méthode

public Init ( ) : void
Résultat void

MakeResolutionArray() public méthode

public MakeResolutionArray ( ) : void
Résultat void

MoveCurser() public méthode

public MoveCurser ( float x ) : void
x float
Résultat void

SelectLeft() public méthode

public SelectLeft ( ) : void
Résultat void

SelectRight() public méthode

public SelectRight ( ) : void
Résultat void

TSoundOption() public méthode

public TSoundOption ( Game1 structOptionsMain, StructSound structSound ) : System
structOptionsMain Game1
structSound StructSound
Résultat System

TSoundOption() public méthode

public TSoundOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txSoundBar, Microsoft.Xna.Framework.Graphics.Texture2D txBarCursor, Microsoft.Xna.Framework.Graphics.Texture2D txArrowLeft, Microsoft.Xna.Framework.Graphics.Texture2D txArrowRight, Vector2 posSoundBar, Vector2 sizeSoundBar, Vector2 sizeBarCursor, Vector2 posArrowLeft, Vector2 posArrowRight, Vector2 sizeArrow, Color col ) : System
graphics GraphicsDeviceManager
txSoundBar Microsoft.Xna.Framework.Graphics.Texture2D
txBarCursor Microsoft.Xna.Framework.Graphics.Texture2D
txArrowLeft Microsoft.Xna.Framework.Graphics.Texture2D
txArrowRight Microsoft.Xna.Framework.Graphics.Texture2D
posSoundBar Vector2
sizeSoundBar Vector2
sizeBarCursor 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