- Timestamp:
- Apr 16, 2015, 4:24:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefense.h
r10351 r10368 39 39 #include "TDCoordinate.h" 40 40 #include "towerdefense/TowerDefensePrereqs.h" 41 #include "gametypes/ Deathmatch.h"41 #include "gametypes/TeamDeathmatch.h" 42 42 #include "TowerDefenseEnemy.h" 43 43 #include "util/Output.h" … … 46 46 namespace orxonox 47 47 { 48 class _TowerDefenseExport TowerDefense : public Deathmatch48 class _TowerDefenseExport TowerDefense : public TeamDeathmatch 49 49 { 50 50 public: … … 70 70 void buyTower(int cost){ credit_ -= cost;} 71 71 void addCredit(int credit) { credit_+=credit; } 72 void nextwave(){ waves_++;}72 void nextwave(){ TowerDefenseEnemyvector.clear(); waves_++; time=0;} 73 73 int reduceLifes(int NumberofLifes){ return lifes_-=NumberofLifes; } 74 TDCoordinate* selectedPos; 74 75 75 76 //virtual void pawnKilled(Pawn* victim, Pawn* killer = 0); … … 95 96 TowerDefenseCenterpoint *center_; 96 97 float time; 97 float time2;98 // float time2; 98 99 int credit_; 99 100 int waves_; 100 101 int lifes_; 102 Timer nextwaveTimer_; 101 103 102 104 /* handles stats */
Note: See TracChangeset
for help on using the changeset viewer.