C# Class AsteroidShooter.Projectile

Mostra 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_oe property

public int ID
return int

JustEntered public_oe property

public bool JustEntered
return bool

Owner public_oe property

public Ship,AsteroidShooter Owner
return Ship

Position public_oe property

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

frame public_oe property

public int frame
return int