Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 5, 2006, 3:30:32 PM (19 years ago)
Author:
rennerc
Message:

clean up spectator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/world_entities/spectator.h

    r8152 r8154  
    99#include "playable.h"
    1010
    11 #if 0
    12 class Spectator : public Playable
    13 {
    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-Direction
    35     float                 yMouse;             //!< mouse moved in y-Direction
    36     Quaternion            mouseDir;           //!< the direction where the player wants to fly
    37 
    38     //Quaternion            rotY;
    39     //Quaternion            rotAxis;
    40     float                 angleX;
    41     float                 angleY;
    42 };
    43 #endif
    44 
    45 class Vector;
    46 class Event;
    47 class ParticleEmitter;
    48 class ParticleSystem;
    49 
    5011class Spectator : public Playable
    5112{
    5213
    5314  public:
    54     Spectator(const std::string& fileName);
    5515    Spectator(const TiXmlElement* root = NULL);
    5616    virtual ~Spectator();
     
    8242    Quaternion            mouseDir;           //!< the direction where the player wants to fly
    8343
    84     //Quaternion            rotY;
    85     //Quaternion            rotAxis;
    8644    float                 angleX;
    8745    float                 angleY;
Note: See TracChangeset for help on using the changeset viewer.