C# Class ProjectCow.Projectile

Objects shot at the spaceship
Inheritance: GameObject
Afficher le fichier Open project: csce3513/Team12

Protected Properties

Свойство Type Description
rotation float
velocity Vector2

Méthodes publiques

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

Method Details

Projectile() public méthode

public Projectile ( Vector2 position, int healthModifier, GameObjectsManager manager ) : System
position Vector2
healthModifier int
manager GameObjectsManager
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

rotation protected_oe property

protected float rotation
Résultat float

velocity protected_oe property

protected Vector2 velocity
Résultat Vector2