Property | Type | Description | |
---|---|---|---|
timeSinceLastReload | System.TimeSpan |
Method | Description | |
---|---|---|
Fire ( |
Executes a "firing" function at the target creep.
|
|
Tower ( Microsoft.Xna.Framework.Game game ) : System |
Initialize the tower with a reference to a game.
|
|
Update ( |
Method | Description | |
---|---|---|
LocateTarget ( ) : |
A private method that most towers implement to find the creep closest to them.
|
public Tower ( Microsoft.Xna.Framework.Game game ) : System | ||
game | Microsoft.Xna.Framework.Game | The game containing this object. |
return | System |
public Update ( |
||
time | ||
return | void |