Changeset 7337 in orxonox.OLD for trunk/src/world_entities/playable.h
- Timestamp:
- Apr 19, 2006, 12:24:20 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.h
r7173 r7337 41 41 void previousWeaponConfig(); 42 42 43 inline WeaponManager * getWeaponManager() const{ return this->weaponMan; };43 inline WeaponManager& getWeaponManager() { return this->weaponMan; }; 44 44 void weaponConfigChanged(); 45 45 … … 65 65 66 66 67 virtual void setAbsDirPlay(const Quaternion& rot) = 0; 68 void setAbsDirPlay(float angle, float dirX, float dirY, float dirZ) { this->setAbsDirPlay(Quaternion(angle, Vector(dirX, dirY, dirZ))); } 67 // 68 virtual void setStartDirection(const Quaternion& rot) = 0; 69 void setStartDirection(float angle, float dirX, float dirY, float dirZ) { this->setStartDirection(Quaternion(angle, Vector(dirX, dirY, dirZ))); } 69 70 70 71 inline void setScore( int score ) { this->score = score; } … … 81 82 82 83 private: 83 WeaponManager *weaponMan; //!< the weapon manager: managing a list of weapon to wepaon-slot mapping84 WeaponManager weaponMan; //!< the weapon manager: managing a list of weapon to wepaon-slot mapping 84 85 std::list<int> events; //!< A list of Events, that are captured for this playable 85 86
Note: See TracChangeset
for help on using the changeset viewer.