Property | Type | Description | |
---|---|---|---|
SLOW_DECAY | System.TimeSpan | ||
currentLinkBox | Microsoft.Xna.Framework.BoundingBox |
Method | Description | |
---|---|---|
Creep ( Microsoft.Xna.Framework.Game game ) : System |
Fairly basic initialization.
|
|
ReceiveDamage ( int damageValue ) : void |
Called by projectiles to attempt to damage the enemy. The enemy provides its own implementation of how to get damaged. This default should serve most purposes.
|
|
Update ( |
Basic update logic for all creeps.
|
Method | Description | |
---|---|---|
PassedPoint ( ) : bool |
Has the creep passed a point along the path?
|
|
UpdateBox ( ) : void |
Updates the bounding rectangle defined by the current link.
|
public Creep ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | The game containing this object. |
return | System |
public ReceiveDamage ( int damageValue ) : void | ||
damageValue | int | Damage value. |
return | void |
public Update ( |
||
time | Current game time. | |
return | void |
public static TimeSpan,System SLOW_DECAY | ||
return | System.TimeSpan |