Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 27, 2014, 1:36:50 PM (11 years ago)
Author:
muemart
Message:

first experiments with the turret

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/turretFS14/src/modules/objects/Turret.h

    r9667 r10004  
    3737
    3838#include "objects/ObjectsPrereqs.h"
     39#include "OgreQuaternion.h"
    3940
    4041#include "worldentities/pawns/SpaceShip.h"
     
    4849            virtual ~Turret();
    4950
    50             //virtual void tick(float dt);
    51 
    5251            virtual void rotatePitch(const Vector2& value);
     52            virtual void rotateYaw(const Vector2& value);
     53            virtual void rotateRoll(const Vector2& value);
    5354
    5455            void setAlertnessRadius(float value);
     
    5657
    5758            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     59            virtual void tick(float dt);
    5860
    5961
     
    6163            WaypointPatrolController* controller_;
    6264        private:
    63 
     65            bool gotOrient_;
     66            Quaternion startOrient_;
     67            Quaternion firstOrient_;
    6468    };
    6569}
Note: See TracChangeset for help on using the changeset viewer.