C# Class ProjectCow.GameObjectsManager

Mostra file Open project: csce3513/Team12 Class Usage Examples

Public Methods

Method Description
AddExplosion ( Vector2 position ) : void
AddObject ( GameObject gameObject ) : void
AddRandomCow ( ) : void
AddRandomCowBomb ( ) : void
AddRandomObject ( ) : void
AddRandomTank ( ) : void
AddStartingCows ( ) : void
CheckCollisions ( ) : int
Draw ( SpriteBatch spriteBatch ) : void
ExplodeShip ( int milliseconds ) : void
GameObjectsManager ( Spaceship spaceship, Random random ) : System
LiftObjects ( Spaceship spaceship ) : LiftObject
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
RemoveObject ( GameObject gameObject ) : void
ShiftObjectsLeft ( ) : void
ShiftObjectsRight ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AddExplosion() public method

public AddExplosion ( Vector2 position ) : void
position Vector2
return void

AddObject() public method

public AddObject ( GameObject gameObject ) : void
gameObject GameObject
return void

AddRandomCow() public method

public AddRandomCow ( ) : void
return void

AddRandomCowBomb() public method

public AddRandomCowBomb ( ) : void
return void

AddRandomObject() public method

public AddRandomObject ( ) : void
return void

AddRandomTank() public method

public AddRandomTank ( ) : void
return void

AddStartingCows() public method

public AddStartingCows ( ) : void
return void

CheckCollisions() public method

public CheckCollisions ( ) : int
return int

Draw() public method

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

ExplodeShip() public method

public ExplodeShip ( int milliseconds ) : void
milliseconds int
return void

GameObjectsManager() public method

public GameObjectsManager ( Spaceship spaceship, Random random ) : System
spaceship Spaceship
random System.Random
return System

LiftObjects() public method

public LiftObjects ( Spaceship spaceship ) : LiftObject
spaceship Spaceship
return LiftObject

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

RemoveObject() public method

public RemoveObject ( GameObject gameObject ) : void
gameObject GameObject
return void

ShiftObjectsLeft() public method

public ShiftObjectsLeft ( ) : void
return void

ShiftObjectsRight() public method

public ShiftObjectsRight ( ) : void
return void

Update() public method

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