C# Class ProjectCow.CowBomb

Fake Cow that hurts the player
Inheritance: LiftObject
Afficher le fichier Open project: csce3513/Team12 Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public CowBomb ( Vector2 position, float resistance, GameObjectsManager manager ) : System
position Vector2
resistance float
manager GameObjectsManager
Résultat System

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

Lift() public méthode

public Lift ( Vector2 spaceshipCenter, float pullAcceleration, Vector2 beamPosition, int beamWidth ) : void
spaceshipCenter Vector2
pullAcceleration float
beamPosition Vector2
beamWidth int
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void