Changeset 9629 for code/branches/core6/src/modules/towerdefense
- Timestamp:
- Aug 9, 2013, 9:26:46 PM (11 years ago)
- Location:
- code/branches/core6/src/modules/towerdefense
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/modules/towerdefense/Tower.cc
r9272 r9629 22 22 Constructor. Registers and initializes the object. 23 23 */ 24 Tower::Tower( BaseObject* creator) : Pawn(creator)24 Tower::Tower(Context* context) : Pawn(context) 25 25 { 26 26 RegisterObject(Tower); -
code/branches/core6/src/modules/towerdefense/Tower.h
r9272 r9629 27 27 { 28 28 public: 29 Tower( BaseObject* creator);29 Tower(Context* context); 30 30 virtual ~Tower() {}; 31 31 -
code/branches/core6/src/modules/towerdefense/TowerDefense.cc
r9579 r9629 96 96 CreateUnloadableFactory(TowerDefense); 97 97 98 TowerDefense::TowerDefense( BaseObject* creator) : Deathmatch(creator)98 TowerDefense::TowerDefense(Context* context) : Deathmatch(context) 99 99 { 100 100 RegisterObject(TowerDefense); … … 190 190 191 191 // Create tower 192 Tower* newTower = new Tower(this->center_ );192 Tower* newTower = new Tower(this->center_->getContext()); 193 193 newTower->addTemplate(this->center_->getTowerTemplate()); 194 194 -
code/branches/core6/src/modules/towerdefense/TowerDefense.h
r9347 r9629 48 48 { 49 49 public: 50 TowerDefense( BaseObject* creator);50 TowerDefense(Context* context); 51 51 virtual ~TowerDefense(); 52 52 -
code/branches/core6/src/modules/towerdefense/TowerDefenseCenterpoint.cc
r9272 r9629 47 47 Constructor. Registers and initializes the object and checks whether the gametype is actually TowerDefense. 48 48 */ 49 TowerDefenseCenterpoint::TowerDefenseCenterpoint( BaseObject* creator) : MobileEntity(creator)49 TowerDefenseCenterpoint::TowerDefenseCenterpoint(Context* context) : MobileEntity(context) 50 50 { 51 51 RegisterObject(TowerDefenseCenterpoint); -
code/branches/core6/src/modules/towerdefense/TowerDefenseCenterpoint.h
r9272 r9629 49 49 { 50 50 public: 51 TowerDefenseCenterpoint( BaseObject* creator);51 TowerDefenseCenterpoint(Context* context); 52 52 virtual ~TowerDefenseCenterpoint() {} 53 53 -
code/branches/core6/src/modules/towerdefense/TowerDefenseController.cc
r9271 r9629 38 38 CreateFactory(TowerDefenseController); 39 39 40 TowerDefenseController::TowerDefenseController( BaseObject* creator) : WaypointController(creator)40 TowerDefenseController::TowerDefenseController(Context* context) : WaypointController(context) 41 41 { 42 42 RegisterObject(TowerDefenseController); -
code/branches/core6/src/modules/towerdefense/TowerDefenseController.h
r9271 r9629 40 40 { 41 41 public: 42 TowerDefenseController( BaseObject* creator);42 TowerDefenseController(Context* context); 43 43 virtual ~TowerDefenseController() {} 44 44 -
code/branches/core6/src/modules/towerdefense/TowerDefenseHUDController.cc
r9272 r9629 37 37 CreateFactory(TowerDefenseHUDController); 38 38 39 TowerDefenseHUDController::TowerDefenseHUDController( BaseObject* creator) : OverlayText(creator)39 TowerDefenseHUDController::TowerDefenseHUDController(Context* context) : OverlayText(context) 40 40 { 41 41 RegisterObject(TowerDefenseHUDController); -
code/branches/core6/src/modules/towerdefense/TowerDefenseHUDController.h
r9272 r9629 49 49 { 50 50 public: 51 TowerDefenseHUDController( BaseObject* creator);51 TowerDefenseHUDController(Context* context); 52 52 virtual ~TowerDefenseHUDController(); 53 53
Note: See TracChangeset
for help on using the changeset viewer.