Changeset 10063 for code/branches/turretFS14/src/modules/objects/Turret.h
- Timestamp:
- May 20, 2014, 10:21:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/turretFS14/src/modules/objects/Turret.h
r10060 r10063 37 37 #include "objects/ObjectsPrereqs.h" 38 38 #include "worldentities/pawns/Pawn.h" 39 #include <OgreSceneQuery.h> 39 40 40 41 namespace orxonox … … 63 64 virtual void rotateYaw(const Vector2& value); 64 65 virtual void rotateRoll(const Vector2& value); 65 virtual float isInRange(const WorldEntity* target) const;66 virtual float isInRange(const WorldEntity* target); 66 67 virtual void aimAtPosition(const Vector3 &position); 67 68 … … 119 120 Ogre::Real maxYaw_; //!< The maxmium yaw the turret can have (on one side). 120 121 float rotationThrust_; //!< The velocity the turret rotates with. 122 Ogre::RaySceneQuery* rayTest_; //!< Used to perform a raytest, currently unused @see isInRange 121 123 122 124 };
Note: See TracChangeset
for help on using the changeset viewer.