Changeset 10319 for code/branches/towerdefenseFS15/src/modules/towerdefense
- Timestamp:
- Mar 19, 2015, 1:31:54 PM (10 years ago)
- Location:
- code/branches/towerdefenseFS15/src/modules/towerdefense
- Files:
-
- 4 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFS15/src/modules/towerdefense/CMakeLists.txt
r10258 r10319 2 2 TowerDefense.cc 3 3 TowerDefenseTower.cc 4 TowerTurret.cc5 4 TowerDefenseCenterpoint.cc 6 5 TowerDefenseHUDController.cc … … 17 16 orxonox 18 17 overlays 18 objects 19 19 SOURCE_FILES ${TOWERDEFENSE_SRC_FILES} 20 20 ) -
code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefense.cc
r10258 r10319 77 77 #include "TowerDefenseCenterpoint.h" 78 78 //#include "TDCoordinate.h" 79 #include "TowerTurret.h"80 79 #include "worldentities/SpawnPoint.h" 81 80 #include "worldentities/pawns/Pawn.h" … … 141 140 } 142 141 142 //the path of the spacehips has to be blocked, so that no towers can be build there 143 143 for (int k=0; k<3; k++) 144 144 towermatrix[1][k]=true; … … 153 153 154 154 //set initial credits, lifes and WaveNumber 155 this->setCredit( 200);155 this->setCredit(1000); 156 156 this->setLifes(50); 157 157 this->setWaveNumber(0); … … 159 159 160 160 //adds initial towers 161 /* 161 162 for (int i=0; i <7; i++){ 162 163 addTower(i+3,4); 163 }/* 164 for (int j=0; j < 7; j++){ 165 addTower(9,j+5); 166 }*/ 164 } 165 */ 167 166 } 168 167 -
code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefenseTower.cc
r10258 r10319 22 22 Constructor. Registers and initializes the object. 23 23 */ 24 TowerDefenseTower::TowerDefenseTower(Context* context) : Pawn(context)24 TowerDefenseTower::TowerDefenseTower(Context* context) : Turret(context) 25 25 { 26 26 RegisterObject(TowerDefenseTower); 27 27 game_ =NULL; 28 28 this->setCollisionType(WorldEntity::Dynamic); 29 29 upgrade = 0; 30 31 32 30 33 31 34 //this->removeAllEngines(); -
code/branches/towerdefenseFS15/src/modules/towerdefense/TowerDefenseTower.h
r10258 r10319 20 20 #include "towerdefense/TowerDefensePrereqs.h" 21 21 #include "worldentities/pawns/SpaceShip.h" 22 #include "objects/Turret.h" 22 23 23 24 24 25 namespace orxonox 25 26 { 26 class _TowerDefenseExport TowerDefenseTower : public Pawn27 class _TowerDefenseExport TowerDefenseTower : public Turret 27 28 { 28 29 public:
Note: See TracChangeset
for help on using the changeset viewer.