C# Class GPSTD_RM.BombTower

This tower is similar to the AOETower, but destroys itself when it fires.
Inheritance: Tower
Show file Open project: dideler/gps-tower-defense

Public Properties

Property Type Description
BLAST_RADIUS float
PRICE int
defaultTexture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
FactoryMake ( Microsoft.Xna.Framework.Game game ) : BombTower
Fire ( Creep target ) : void

This implementation of fire creates an AOEProjectile and destroys the tower.

Private Methods

Method Description
BombTower ( Microsoft.Xna.Framework.Game g ) : System

Basic constructor.

Method Details

FactoryMake() public static method

public static FactoryMake ( Microsoft.Xna.Framework.Game game ) : BombTower
game Microsoft.Xna.Framework.Game
return BombTower

Fire() public method

This implementation of fire creates an AOEProjectile and destroys the tower.
public Fire ( Creep target ) : void
target Creep The creep that caused the explosion.
return void

Property Details

BLAST_RADIUS public static property

public static float BLAST_RADIUS
return float

PRICE public static property

public static int PRICE
return int

defaultTexture public static property

public static Texture2D,Microsoft.Xna.Framework.Graphics defaultTexture
return Microsoft.Xna.Framework.Graphics.Texture2D