Tower Defence 2
|
Description for creating new towers. More...
#include <tower.h>
Public Member Functions | |
TowerType (const std::string &name, int cost, int damage, double attack_range, double attack_speed) | |
~TowerType () | |
Destroy the object. | |
std::string | name () const |
const int | cost () const |
const int | damage () const |
std::vector< TowerType * > | upgrade_options () const |
const double | attack_range () const |
const double | attack_speed () const |
void | add_upgrade_option (TowerType *tower_type) |
Add new upgrade option. | |
Tower * | create_tower (double x, double y) |
Create new tower of this type. | |
Description for creating new towers.