Property | Type | Description | |
---|---|---|---|
DEFAULT_SPEED | float | ||
LENGTH | float |
Property | Type | Description | |
---|---|---|---|
EndOfLine | Vector2 |
Method | Description | |
---|---|---|
Projectile ( Microsoft.Xna.Framework.Game game ) : System | ||
Projectile ( Microsoft.Xna.Framework.Game game, Vector2 position, Vector2 velocity, int attackPower ) : System | ||
Update ( |
Default implemetnation of update for Projectiles. Updates the position, based on the velocity.
|
public Projectile ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | |
return | System |
public Projectile ( Microsoft.Xna.Framework.Game game, Vector2 position, Vector2 velocity, int attackPower ) : System | ||
game | Microsoft.Xna.Framework.Game | |
position | Vector2 | |
velocity | Vector2 | |
attackPower | int | |
return | System |
public Update ( |
||
time | ||
return | void |