C# Class TuneBlaster_.Graphics.Core

Inheritance: Image
Mostrar archivo Open project: kiniry-teaching/UCD Class Usage Examples

Public Properties

Property Type Description
acceleration float
balls List
ballsSize int
blackwhite bool
looseBalls List
searchLightOn bool

Public Methods

Method Description
AddBall ( FixedBall f ) : void
BlackWhite ( ) : void
CheckExplosions ( ) : void
CheckLoose ( ) : void
Colour ( ) : void
Core ( ) : System
Core ( GamePadState g ) : System
Draw ( GameTime gameTime ) : void
DrawSearchLight ( GameTime gameTime ) : void
GameOver ( ) : bool
Initialise ( ) : void
Initialise ( Vector2 mySize, Vector2 myPosition, Microsoft.Xna.Framework.Game g ) : void
LoadGraphicsContent ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
Move ( KeyboardState keyBoardState ) : void
Move ( KeyboardState keyBoardState, GamePadState gamePadState ) : void
MoveSearchLight ( KeyboardState keyboard, GamePadState gamepad ) : void
NextSpecial ( ) : void
ResetSpecial ( ) : void
SetControllerRotation ( ) : void
SetControllerRotation ( GamePadState gamePadState ) : void
SetKeyboardRotation ( KeyboardState keyBoardState ) : void
SetRotation ( ) : void
Update ( GameTime gameTime, KeyboardState keyBoardState, GamePadState gamePadState ) : value
Update ( GameTime gameTime, KeyboardState keyBoardState ) : void
UpdateLoose ( ) : void
addBall ( FixedBall f ) : void
getBallSize ( ) : int
getPos ( ) : Vector3
removeBall ( FixedBall f ) : void
setPos ( Vector3 v ) : void

Method Details

AddBall() public method

public AddBall ( FixedBall f ) : void
f FixedBall
return void

BlackWhite() public method

public BlackWhite ( ) : void
return void

CheckExplosions() public method

public CheckExplosions ( ) : void
return void

CheckLoose() public method

public CheckLoose ( ) : void
return void

Colour() public method

public Colour ( ) : void
return void

Core() public method

public Core ( ) : System
return System

Core() public method

public Core ( GamePadState g ) : System
g Microsoft.Xna.Framework.Input.GamePadState
return System

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

DrawSearchLight() public method

public DrawSearchLight ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

GameOver() public method

public GameOver ( ) : bool
return bool

Initialise() public method

public Initialise ( ) : void
return void

Initialise() public method

public Initialise ( Vector2 mySize, Vector2 myPosition, Microsoft.Xna.Framework.Game g ) : void
mySize Vector2
myPosition Vector2
g Microsoft.Xna.Framework.Game
return void

LoadGraphicsContent() public method

public LoadGraphicsContent ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
texture Microsoft.Xna.Framework.Graphics.Texture2D
return void

Move() public method

public Move ( KeyboardState keyBoardState ) : void
keyBoardState Microsoft.Xna.Framework.Input.KeyboardState
return void

Move() public method

public Move ( KeyboardState keyBoardState, GamePadState gamePadState ) : void
keyBoardState Microsoft.Xna.Framework.Input.KeyboardState
gamePadState Microsoft.Xna.Framework.Input.GamePadState
return void

MoveSearchLight() public method

public MoveSearchLight ( KeyboardState keyboard, GamePadState gamepad ) : void
keyboard Microsoft.Xna.Framework.Input.KeyboardState
gamepad Microsoft.Xna.Framework.Input.GamePadState
return void

NextSpecial() public method

public NextSpecial ( ) : void
return void

ResetSpecial() public method

public ResetSpecial ( ) : void
return void

SetControllerRotation() public method

public SetControllerRotation ( ) : void
return void

SetControllerRotation() public method

public SetControllerRotation ( GamePadState gamePadState ) : void
gamePadState Microsoft.Xna.Framework.Input.GamePadState
return void

SetKeyboardRotation() public method

public SetKeyboardRotation ( KeyboardState keyBoardState ) : void
keyBoardState Microsoft.Xna.Framework.Input.KeyboardState
return void

SetRotation() public method

public SetRotation ( ) : void
return void

Update() public method

public Update ( GameTime gameTime, KeyboardState keyBoardState, GamePadState gamePadState ) : value
gameTime Microsoft.Xna.Framework.GameTime
keyBoardState Microsoft.Xna.Framework.Input.KeyboardState
gamePadState Microsoft.Xna.Framework.Input.GamePadState
return value

Update() public method

public Update ( GameTime gameTime, KeyboardState keyBoardState ) : void
gameTime Microsoft.Xna.Framework.GameTime
keyBoardState Microsoft.Xna.Framework.Input.KeyboardState
return void

UpdateLoose() public method

public UpdateLoose ( ) : void
return void

addBall() public method

public addBall ( FixedBall f ) : void
f FixedBall
return void

getBallSize() public method

public getBallSize ( ) : int
return int

getPos() public method

public getPos ( ) : Vector3
return Vector3

removeBall() public method

public removeBall ( FixedBall f ) : void
f FixedBall
return void

setPos() public method

public setPos ( Vector3 v ) : void
v Vector3
return void

Property Details

acceleration public_oe property

public float acceleration
return float

balls public_oe property

public List balls
return List

ballsSize public_oe property

public int ballsSize
return int

blackwhite public_oe property

public bool blackwhite
return bool

looseBalls public_oe property

public List looseBalls
return List

searchLightOn public_oe property

public bool searchLightOn
return bool