Changeset 2254 for code/branches/objecthierarchy2/src/orxonox/objects/worldentities/ControllableEntity.h
- Timestamp:
- Nov 24, 2008, 1:50:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/ControllableEntity.h
r2087 r2254 68 68 virtual void altFire() {} 69 69 70 virtual void boost() {} 70 71 virtual void greet() {} 71 72 virtual void use() {} … … 123 124 { return this->cameraPositionTemplate_; } 124 125 126 inline bool hasLocalController() const 127 { return this->bHasLocalController_; } 128 inline bool hasHumanController() const 129 { return this->bHasHumanController_; } 130 125 131 protected: 126 virtual void startLocal Control();127 virtual void stopLocal Control();132 virtual void startLocalHumanControl(); 133 virtual void stopLocalHumanControl(); 128 134 129 135 inline void setHudTemplate(const std::string& name) 130 136 { this->hudtemplate_ = name; } 131 132 inline bool isLocallyControlled() const133 { return this->bControlled_; }134 137 135 138 Vector3 acceleration_; … … 154 157 Vector3 velocity_; 155 158 156 bool bControlled_; 159 bool bHasLocalController_; 160 bool bHasHumanController_; 161 157 162 Vector3 server_position_; 158 163 Vector3 client_position_;
Note: See TracChangeset
for help on using the changeset viewer.