Property | Type | Description | |
---|---|---|---|
PRICE | int | ||
defaultTexture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | Description | |
---|---|---|
FactoryMake ( Microsoft.Xna.Framework.Game game ) : |
Create a basic tower with the default settings.
|
|
Fire ( |
The implementation of this fire method creates a basic projectile that is heading towards the target with a high velocity.
|
|
Update ( |
Basic update logic.
|
Method | Description | |
---|---|---|
BasicTower ( Microsoft.Xna.Framework.Game g ) : System |
Basic constructor.
|
public static FactoryMake ( Microsoft.Xna.Framework.Game game ) : |
||
game | Microsoft.Xna.Framework.Game | The game containing this object. |
return |
public Fire ( |
||
target | The creep that is being shot. | |
return | void |
public Update ( |
||
time | The current game time. | |
return | void |