Changeset 8228 in orxonox.OLD for trunk/src/world_entities/spectator.h
- Timestamp:
- Jun 8, 2006, 11:19:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/spectator.h
r8147 r8228 11 11 class Spectator : public Playable 12 12 { 13 13 14 public: 14 Spectator( const TiXmlElement* root = NULL);15 Spectator(const TiXmlElement* root = NULL); 15 16 virtual ~Spectator(); 16 17 18 virtual void loadParams(const TiXmlElement* root); 19 17 20 virtual void setPlayDirection(const Quaternion& rot, float speed = 0.0f); 18 21 19 22 virtual void enter(); 20 23 virtual void leave(); 21 24 25 virtual void reset(); 26 22 27 virtual void collidesWith(WorldEntity* entity, const Vector& location); 23 28 virtual void tick(float time); 24 29 25 30 virtual void process(const Event &event); 26 31 27 32 private: 33 void init(); 34 28 35 bool bLeft; 29 36 bool bRight; … … 35 42 Quaternion mouseDir; //!< the direction where the player wants to fly 36 43 37 //Quaternion rotY;38 //Quaternion rotAxis;39 44 float angleX; 40 45 float angleY; 46 41 47 }; 42 48
Note: See TracChangeset
for help on using the changeset viewer.