- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/infos/HumanPlayer.h
r2907 r2908 51 51 void setClientID(unsigned int clientID); 52 52 53 virtual void changedGametype(); 54 virtual void changedControllableEntity(); 55 56 inline void setHumanHUDTemplate(const std::string& name) 57 { 58 if (name != this->humanHudTemplate_) 59 { 60 this->humanHudTemplate_ = name; 61 this->updateHumanHUD(); 62 } 63 } 64 inline const std::string& getHumanHUDTemplate() const 65 { return this->humanHudTemplate_; } 66 inline OverlayGroup* getHumanHUD() const 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_; } 53 virtual void changedController(); 81 54 82 55 protected: … … 88 61 void networkcallback_client_initialized(); 89 62 90 void updateHumanHUD();91 void updateGametypeHUD();92 93 63 std::string nick_; 94 64 std::string synchronize_nick_; … … 96 66 bool server_initialized_; 97 67 bool client_initialized_; 98 99 std::string humanHudTemplate_;100 OverlayGroup* humanHud_;101 std::string gametypeHudTemplate_;102 OverlayGroup* gametypeHud_;103 68 }; 104 69 }
Note: See TracChangeset
for help on using the changeset viewer.