Changeset 2024 for code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.h
- Timestamp:
- Oct 28, 2008, 3:05:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.h
r2019 r2024 57 57 { return this->bDestroyWhenPlayerLeft_; } 58 58 59 virtual void moveFrontBack( floatvalue) {}60 virtual void moveRightLeft( floatvalue) {}61 virtual void moveUpDown( floatvalue) {}59 virtual void moveFrontBack(const Vector2& value) {} 60 virtual void moveRightLeft(const Vector2& value) {} 61 virtual void moveUpDown(const Vector2& value) {} 62 62 63 virtual void rotateYaw( floatvalue) {}64 virtual void rotatePitch( floatvalue) {}65 virtual void rotateRoll( floatvalue) {}63 virtual void rotateYaw(const Vector2& value) {} 64 virtual void rotatePitch(const Vector2& value) {} 65 virtual void rotateRoll(const Vector2& value) {} 66 66 67 67 virtual void fire() {} … … 108 108 { this->acceleration_.x = x; this->acceleration_.y = y; this->acceleration_.z = z; } 109 109 110 inline Camera* getCamera() const 111 { return this->camera_; } 112 inline OverlayGroup* getHUD() const 113 { return this->hud_; } 114 110 115 protected: 111 116 virtual void startLocalControl(); … … 117 122 inline bool isLocallyControlled() const 118 123 { return this->bControlled_; } 124 125 Vector3 acceleration_; 119 126 120 127 private: … … 136 143 137 144 Vector3 velocity_; 138 Vector3 acceleration_;139 145 140 146 bool bControlled_;
Note: See TracChangeset
for help on using the changeset viewer.