C# Class ProjectCow.CowBomb

Fake Cow that hurts the player
Inheritance: LiftObject
Exibir arquivo Open project: csce3513/Team12 Class Usage Examples

Public Methods

Method Description
CowBomb ( Vector2 position, float resistance, GameObjectsManager manager ) : System
Draw ( SpriteBatch spriteBatch ) : void
Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void

Method Details

CowBomb() public method

public CowBomb ( Vector2 position, float resistance, GameObjectsManager manager ) : System
position Vector2
resistance float
manager GameObjectsManager
return System

Draw() public method

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

Lift() public method

public Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void
spaceshipCenter Vector2
pullAcceleration float
beamPosition Vector2
beamWidth int
return void

LoadContent() public method

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