- Timestamp:
- Mar 22, 2009, 9:59:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/miniprojects/src/orxonox/objects/infos/PlayerInfo.h
r2789 r2819 50 50 51 51 virtual void changedController() {} 52 virtual void changedControllableEntity() ;52 virtual void changedControllableEntity() {} 53 53 54 54 inline bool isHumanPlayer() const … … 77 77 { return this->controller_; } 78 78 79 inline void setGametypeHUDTemplate(const std::string& name)80 {81 if (name != this->gametypeHudTemplate_)82 {83 this->gametypeHudTemplate_ = name;84 this->updateGametypeHUD();85 }86 }87 inline const std::string& getGametypeHUDTemplate() const88 { return this->gametypeHudTemplate_; }89 90 inline OverlayGroup* getGametypeHUD() const91 { return this->gametypeHud_; }92 93 79 protected: 94 80 void createController(); … … 102 88 private: 103 89 void networkcallback_changedcontrollableentityID(); 104 void updateGametypeHUD();105 90 106 91 bool bReadyToSpawn_; … … 108 93 ControllableEntity* controllableEntity_; 109 94 unsigned int controllableEntityID_; 110 std::string gametypeHudTemplate_;111 OverlayGroup* gametypeHud_;112 95 }; 113 96 }
Note: See TracChangeset
for help on using the changeset viewer.