- Timestamp:
- May 31, 2010, 9:33:09 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation3/src/modules/weapons/RocketController.h
r7021 r7039 49 49 public: 50 50 RocketController(BaseObject* creator); 51 51 virtual ~RocketController(); 52 52 53 53 virtual void tick(float dt); 54 54 SimpleRocket* getRocket() const 55 55 { return this->rocket_; }; 56 56 void setTarget(WorldEntity* target); 57 57 protected: 58 59 60 58 void moveToPosition(const Vector3& target); 59 void setTargetPosition(); 60 void moveToTargetPosition(); 61 61 62 62 private: 63 64 65 66 67 63 SimpleRocket* rocket_; //!<The Rocket it controlls 64 Vector3 targetPosition_; 65 WeakPtr<PlayerInfo> player_; 66 67 WeakPtr<WorldEntity> target_; 68 68 69 69
Note: See TracChangeset
for help on using the changeset viewer.