C# Class Asteroids.TCheckBoxOption

Exibir arquivo Open project: Timvangool/AsteroidsAPO2 Class Usage Examples

Public Methods

Method Description
AntiAliasingCheck ( ) : void
CheckBoxClick ( ) : void
Draw ( SpriteBatch spriteBatch ) : void
Init ( ) : void
SelectLeftRight ( ) : void
SelectedCheck ( bool isSelected ) : void
TCheckBoxOption ( Game1 structOptionsMain, StructCheckBox structCheckBox ) : System
TCheckBoxOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txCheckedBox, Microsoft.Xna.Framework.Graphics.Texture2D txUnCheckedBox, Vector2 posLeftCheckBox, Vector2 posRightCheckBox, Vector2 vecSize, bool stateCheckBoxLeft, Color col ) : System
Update ( Microsoft.Xna.Framework.Input.MouseState mouse ) : void

Method Details

AntiAliasingCheck() public method

public AntiAliasingCheck ( ) : void
return void

CheckBoxClick() public method

public CheckBoxClick ( ) : void
return void

Draw() public method

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

Init() public method

public Init ( ) : void
return void

SelectLeftRight() public method

public SelectLeftRight ( ) : void
return void

SelectedCheck() public method

public SelectedCheck ( bool isSelected ) : void
isSelected bool
return void

TCheckBoxOption() public method

public TCheckBoxOption ( Game1 structOptionsMain, StructCheckBox structCheckBox ) : System
structOptionsMain Game1
structCheckBox StructCheckBox
return System

TCheckBoxOption() public method

public TCheckBoxOption ( GraphicsDeviceManager graphics, Microsoft.Xna.Framework.Graphics.Texture2D txCheckedBox, Microsoft.Xna.Framework.Graphics.Texture2D txUnCheckedBox, Vector2 posLeftCheckBox, Vector2 posRightCheckBox, Vector2 vecSize, bool stateCheckBoxLeft, Color col ) : System
graphics GraphicsDeviceManager
txCheckedBox Microsoft.Xna.Framework.Graphics.Texture2D
txUnCheckedBox Microsoft.Xna.Framework.Graphics.Texture2D
posLeftCheckBox Vector2
posRightCheckBox Vector2
vecSize Vector2
stateCheckBoxLeft bool
col Color
return System

Update() public method

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