C# Class AsteroidShooter.Projectile

Show file Open project: vs-team/casanova-mk2

Public Properties

Property Type Description
ID int
JustEntered bool
Owner Ship
Position Microsoft.Xna.Framework.Vector2
frame int

Public Methods

Method Description
Projectile ( Microsoft p ) : Casanova.Prelude
Projectile ( Microsoft p, Ship owner ) : Casanova.Prelude
Rule0 ( float dt, World world ) : void
Update ( float dt, World world ) : void

Method Details

Projectile() public method

public Projectile ( Microsoft p ) : Casanova.Prelude
p Microsoft
return Casanova.Prelude

Projectile() public method

public Projectile ( Microsoft p, Ship owner ) : Casanova.Prelude
p Microsoft
owner Ship
return Casanova.Prelude

Rule0() public method

public Rule0 ( float dt, World world ) : void
dt float
world World
return void

Update() public method

public Update ( float dt, World world ) : void
dt float
world World
return void

Property Details

ID public property

public int ID
return int

JustEntered public property

public bool JustEntered
return bool

Owner public property

public Ship,AsteroidShooter Owner
return Ship

Position public property

public Vector2,Microsoft.Xna.Framework Position
return Microsoft.Xna.Framework.Vector2

frame public property

public int frame
return int