Property | Type | Description | |
---|---|---|---|
DEFAULT_LIFESPAN | System.TimeSpan |
Method | Description | |
---|---|---|
AOEProjectile ( Microsoft.Xna.Framework.Game g ) : System |
Basic initialization.
|
|
AOEProjectile ( Microsoft.Xna.Framework.Game g, Vector2 position, Vector2 velocity, int attackPower ) : System |
Full constructor, inherited from the projectile constructor.
|
|
Update ( |
Basic update logic.
|
public AOEProjectile ( Microsoft.Xna.Framework.Game g ) : System | ||
g | Microsoft.Xna.Framework.Game | The game that contains this object. |
return | System |
public AOEProjectile ( Microsoft.Xna.Framework.Game g, Vector2 position, Vector2 velocity, int attackPower ) : System | ||
g | Microsoft.Xna.Framework.Game | The game that contains this object. |
position | Vector2 | Initial position. |
velocity | Vector2 | Initial velocity. |
attackPower | int | How much damage will it do? |
return | System |
public Update ( |
||
time | The current game time. | |
return | void |