Changeset 10144 for code/branches/towerdefenseHS14/src/modules/towerdefense
- Timestamp:
- Dec 3, 2014, 12:49:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseHS14/src/modules/towerdefense/TowerDefense.cc
r10142 r10144 158 158 for (int i = 0; i < kInitialTowerCount; i++) 159 159 { 160 addTower(i+4, (i+5));160 addTower(i+4,i+5); 161 161 } 162 162 … … 277 277 // Create tower 278 278 TowerDefenseTower* towernew = new TowerDefenseTower(this->center_->getContext()); 279 towernew->addTemplate("tower ");279 towernew->addTemplate("towerturret"); 280 280 towernew->setPosition(static_cast<float>((x-8) * tileScale), static_cast<float>((y-8) * tileScale), 75); 281 281 towernew->setGame(this);
Note: See TracChangeset
for help on using the changeset viewer.