Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8228 in orxonox.OLD for trunk/src/world_entities/spectator.h


Ignore:
Timestamp:
Jun 8, 2006, 11:19:08 AM (19 years ago)
Author:
patrick
Message:

trunk: merged the network branche back to trunk with command: svn merge branches/network trunk -r8150:HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/spectator.h

    r8147 r8228  
    1111class Spectator : public Playable
    1212{
     13
    1314  public:
    14     Spectator( const TiXmlElement* root = NULL );
     15    Spectator(const TiXmlElement* root = NULL);
    1516    virtual ~Spectator();
    16    
     17
     18    virtual void loadParams(const TiXmlElement* root);
     19
    1720    virtual void setPlayDirection(const Quaternion& rot, float speed = 0.0f);
    1821
    1922    virtual void enter();
    2023    virtual void leave();
    21    
     24
     25    virtual void reset();
     26
    2227    virtual void collidesWith(WorldEntity* entity, const Vector& location);
    2328    virtual void tick(float time);
    2429
    2530    virtual void process(const Event &event);
    26    
     31
    2732  private:
     33    void init();
     34
    2835    bool                  bLeft;
    2936    bool                  bRight;
     
    3542    Quaternion            mouseDir;           //!< the direction where the player wants to fly
    3643
    37     //Quaternion            rotY;
    38     //Quaternion            rotAxis;
    3944    float                 angleX;
    4045    float                 angleY;
     46
    4147};
    4248
Note: See TracChangeset for help on using the changeset viewer.