C# Class TuneBlaster_.BallManager

The class in charge of creating all the balls in the regular game mode Author Hugh Corrigan, Ahmed Warreth, Dermot Kirby
Datei anzeigen Open project: kiniry-teaching/UCD Class Usage Examples

Public Properties

Property Type Description
green Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
BallManager ( Core c ) : System
BallManager ( Core c, Microsoft.Xna.Framework.Game g ) : System
BallManager ( Core c, Microsoft.Xna.Framework.Game g, BallGenerator gen ) : System
BlackWhite ( ) : void
Color ( ) : void
Draw ( GameTime gameTime ) : void
Initialise ( ) : void
LoadBallGraphicsContent ( ) : void
LoadGraphicsContent ( SpriteBatch spriteBatch ) : void
LoadGraphicsContent ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
ResetColour ( ) : void
StartPosition ( ) : Vector2
Update ( GameTime gameTime ) : void

Method Details

BallManager() public method

public BallManager ( Core c ) : System
c TuneBlaster_.Graphics.Core
return System

BallManager() public method

public BallManager ( Core c, Microsoft.Xna.Framework.Game g ) : System
c TuneBlaster_.Graphics.Core
g Microsoft.Xna.Framework.Game
return System

BallManager() public method

public BallManager ( Core c, Microsoft.Xna.Framework.Game g, BallGenerator gen ) : System
c TuneBlaster_.Graphics.Core
g Microsoft.Xna.Framework.Game
gen BallGenerator
return System

BlackWhite() public method

public BlackWhite ( ) : void
return void

Color() public method

public Color ( ) : void
return void

Draw() public method

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

Initialise() public method

public Initialise ( ) : void
return void

LoadBallGraphicsContent() public method

public LoadBallGraphicsContent ( ) : void
return void

LoadGraphicsContent() public method

public LoadGraphicsContent ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
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

ResetColour() public method

public ResetColour ( ) : void
return void

StartPosition() public method

public StartPosition ( ) : Vector2
return Vector2

Update() public method

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

Property Details

green public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics green
return Microsoft.Xna.Framework.Graphics.Texture2D