C# Class ProjectCow.Projectile

Objects shot at the spaceship
Inheritance: GameObject
显示文件 Open project: csce3513/Team12

Protected Properties

Property Type Description
rotation float
velocity Vector2

Public Methods

Method Description
Projectile ( Vector2 position, int healthModifier, GameObjectsManager manager ) : System
Update ( GameTime gameTime ) : void

Method Details

Projectile() public method

public Projectile ( Vector2 position, int healthModifier, GameObjectsManager manager ) : System
position Vector2
healthModifier int
manager GameObjectsManager
return System

Update() public method

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

Property Details

rotation protected_oe property

protected float rotation
return float

velocity protected_oe property

protected Vector2 velocity
return Vector2