Changeset 2320 for code/branches/overlay/src/orxonox/objects
- Timestamp:
- Dec 3, 2008, 3:58:01 PM (16 years ago)
- Location:
- code/branches/overlay/src/orxonox/objects/gametypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/overlay/src/orxonox/objects/gametypes/Gametype.cc
r2181 r2320 40 40 #include "objects/worldentities/pawns/Spectator.h" 41 41 #include "objects/worldentities/SpawnPoint.h" 42 #include "Settings.h" 42 43 43 44 #include "network/Host.h" … … 67 68 68 69 // load the corresponding score board 69 statsOverlay_ = new XMLFile(Settings::getDataPath() + "overlay/" + this->statsOverlayName_);70 this->statsOverlay_ = new XMLFile(Settings::getDataPath() + "overlay/" + this->statsOverlayName_); 70 71 Loader::open(statsOverlay_); 72 this->setGametype(this); 71 73 } 72 74 -
code/branches/overlay/src/orxonox/objects/gametypes/Gametype.h
r2181 r2320 82 82 { return this->startCountdown_; } 83 83 84 inline unsigned int getNumberOfPlayers() const 85 { return this->players_.size(); } 86 87 inline std::string getPlayersName() const 88 { return "StatsBot77"; } 89 90 inline unsigned int getPlayersFrags() const 91 { return 123; } 92 84 93 private: 85 94 void setConfigValues();
Note: See TracChangeset
for help on using the changeset viewer.