- Timestamp:
- Mar 16, 2009, 2:11:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/miniprojects/src/orxonox/objects/infos/HumanPlayer.h
r2662 r2789 51 51 void setClientID(unsigned int clientID); 52 52 53 virtual void changedController(); 53 virtual void changedControllableEntity(); 54 55 inline void setHumanHUDTemplate(const std::string& name) 56 { 57 if (name != this->humanHudTemplate_) 58 { 59 this->humanHudTemplate_ = name; 60 this->updateHumanHUD(); 61 } 62 } 63 inline const std::string& getHumanHUDTemplate() const 64 { return this->humanHudTemplate_; } 65 66 inline OverlayGroup* getHumanHUD() const 67 { return this->humanHud_; } 54 68 55 69 protected: … … 61 75 void networkcallback_client_initialized(); 62 76 77 void updateHumanHUD(); 78 63 79 std::string nick_; 64 80 std::string synchronize_nick_; … … 66 82 bool server_initialized_; 67 83 bool client_initialized_; 84 85 std::string humanHudTemplate_; 86 OverlayGroup* humanHud_; 68 87 }; 69 88 }
Note: See TracChangeset
for help on using the changeset viewer.