Changeset 10591 for code/branches/towerdefenseFabien/src/modules/towerdefense/TowerDefenseHUDController.cc
- Timestamp:
- Sep 17, 2015, 3:32:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/towerdefenseFabien/src/modules/towerdefense/TowerDefenseHUDController.cc
r10258 r10591 50 50 { 51 51 SUPER(TowerDefenseHUDController, tick, dt); 52 52 53 const std::string& lifes = multi_cast<std::string>(this->td->getLifes()); 53 54 const std::string& credits = multi_cast<std::string>(this->td->getCredit()); … … 55 56 56 57 if(showlives == true) 57 this->setCaption(multi_cast<std::string>(lifes)); 58 { 59 this->setCaption(multi_cast<std::string>(lifes)); 60 } 58 61 else if(showcredits == true) 59 this->setCaption(multi_cast<std::string>(credits)); 62 { 63 this->setCaption(multi_cast<std::string>(credits)); 64 } 60 65 else if(showwaves == true) 61 this->setCaption(multi_cast<std::string>(wave));62 63 66 { 67 this->setCaption(multi_cast<std::string>(wave)); 68 } 64 69 } 65 70
Note: See TracChangeset
for help on using the changeset viewer.