Changeset 8154 in orxonox.OLD for branches/network/src/world_entities/spectator.h
- Timestamp:
- Jun 5, 2006, 3:30:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/spectator.h
r8152 r8154 9 9 #include "playable.h" 10 10 11 #if 012 class Spectator : public Playable13 {14 public:15 Spectator( const TiXmlElement* root = NULL );16 virtual ~Spectator();17 18 virtual void setPlayDirection(const Quaternion& rot, float speed = 0.0f);19 20 virtual void enter();21 virtual void leave();22 23 virtual void collidesWith(WorldEntity* entity, const Vector& location);24 virtual void tick(float time);25 26 virtual void process(const Event &event);27 28 private:29 bool bLeft;30 bool bRight;31 bool bForward;32 bool bBackward;33 34 float xMouse; //!< mouse moved in x-Direction35 float yMouse; //!< mouse moved in y-Direction36 Quaternion mouseDir; //!< the direction where the player wants to fly37 38 //Quaternion rotY;39 //Quaternion rotAxis;40 float angleX;41 float angleY;42 };43 #endif44 45 class Vector;46 class Event;47 class ParticleEmitter;48 class ParticleSystem;49 50 11 class Spectator : public Playable 51 12 { 52 13 53 14 public: 54 Spectator(const std::string& fileName);55 15 Spectator(const TiXmlElement* root = NULL); 56 16 virtual ~Spectator(); … … 82 42 Quaternion mouseDir; //!< the direction where the player wants to fly 83 43 84 //Quaternion rotY;85 //Quaternion rotAxis;86 44 float angleX; 87 45 float angleY;
Note: See TracChangeset
for help on using the changeset viewer.