- Timestamp:
- Mar 22, 2009, 9:59:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/miniprojects/src/orxonox/objects/infos/HumanPlayer.h
r2789 r2819 51 51 void setClientID(unsigned int clientID); 52 52 53 virtual void changedGametype(); 53 54 virtual void changedControllableEntity(); 54 55 … … 63 64 inline const std::string& getHumanHUDTemplate() const 64 65 { return this->humanHudTemplate_; } 65 66 66 inline OverlayGroup* getHumanHUD() const 67 67 { return this->humanHud_; } 68 69 inline void setGametypeHUDTemplate(const std::string& name) 70 { 71 if (name != this->gametypeHudTemplate_) 72 { 73 this->gametypeHudTemplate_ = name; 74 this->updateGametypeHUD(); 75 } 76 } 77 inline const std::string& getGametypeHUDTemplate() const 78 { return this->gametypeHudTemplate_; } 79 inline OverlayGroup* getGametypeHUD() const 80 { return this->gametypeHud_; } 68 81 69 82 protected: … … 76 89 77 90 void updateHumanHUD(); 91 void updateGametypeHUD(); 78 92 79 93 std::string nick_; … … 85 99 std::string humanHudTemplate_; 86 100 OverlayGroup* humanHud_; 101 std::string gametypeHudTemplate_; 102 OverlayGroup* gametypeHud_; 87 103 }; 88 104 }
Note: See TracChangeset
for help on using the changeset viewer.