C# Class Vtj.Contest.Shooter.Projectile

Base class for any projectile shot by the player's ship
Inheritance: Vtj.Gaming.GameObject
Mostrar archivo Open project: Ventajou/Space-Dinosaurs

Public Properties

Property Type Description
Destroyed bool
Hit bool

Protected Properties

Property Type Description
Motion IMotion

Public Methods

Method Description
Projectile ( Vtj.Gaming.Vector2D location, IMotion motion ) : System
Removed ( ) : void
Update ( ) : void

Method Details

Projectile() public method

public Projectile ( Vtj.Gaming.Vector2D location, IMotion motion ) : System
location Vtj.Gaming.Vector2D
motion IMotion
return System

Removed() public method

public Removed ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Destroyed public_oe property

public bool Destroyed
return bool

Hit public_oe property

public bool Hit
return bool

Motion protected_oe property

protected IMotion Motion
return IMotion