C# Class GPSTD_RM.AOETower

This tower creates an AOEProjectile when it fires.
Inheritance: Tower
Show file Open project: dideler/gps-tower-defense

Public Properties

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

Public Methods

Method Description
FactoryMake ( Microsoft.Xna.Framework.Game game ) : AOETower

Default stats for the current tower.

Fire ( Creep target ) : void

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

Private Methods

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

The basic constructor

Method Details

FactoryMake() public static method

Default stats for the current tower.
public static FactoryMake ( Microsoft.Xna.Framework.Game game ) : AOETower
game Microsoft.Xna.Framework.Game The game that contains this object.
return AOETower

Fire() public method

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

Property Details

PRICE public static property

public static int PRICE
return int

defaultTexture public static property

Use this texture if none is specified
public static Texture2D,Microsoft.Xna.Framework.Graphics defaultTexture
return Microsoft.Xna.Framework.Graphics.Texture2D