- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/src/orxonox/worldentities/ControllableEntity.h
r5929 r6412 84 84 { this->rotateRoll(Vector2(value, 0)); } 85 85 86 virtual void fire(unsigned int firemode) {} 86 void fire(unsigned int firemode); 87 virtual void fired(unsigned int firemode) {} 87 88 virtual void reload() {} 88 89 … … 139 140 inline Controller* getXMLController() const 140 141 { return this->xmlcontroller_; } 142 143 inline Controller* getController() const 144 { return this->controller_; } 145 inline void setController(Controller* val) 146 { this->controller_ = val; } 147 148 virtual void setTarget( WorldEntity* target ); 149 virtual WorldEntity* getTarget() 150 { return this->target_.get(); } 151 void setTargetInternal( uint32_t targetID ); 141 152 142 153 protected: … … 199 210 Ogre::SceneNode* cameraPositionRootNode_; 200 211 std::list<SmartPtr<CameraPosition> > cameraPositions_; 212 CameraPosition* currentCameraPosition_; 201 213 std::string cameraPositionTemplate_; 202 214 Controller* xmlcontroller_; 215 Controller* controller_; 203 216 CameraPosition* reverseCamera_; 217 WeakPtr<WorldEntity> target_; 204 218 }; 205 219 }
Note: See TracChangeset
for help on using the changeset viewer.