Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7092 in orxonox.OLD for trunk/src/world_entities/playable.h


Ignore:
Timestamp:
Feb 7, 2006, 5:27:54 PM (18 years ago)
Author:
bensch
Message:

absDir

File:
1 edited

Legend:

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

    r7072 r7092  
    2828    virtual ~Playable();
    2929
     30    virtual void loadParams(const TiXmlElement* root);
    3031
    3132    virtual void die();
     
    6162    bool      needsReadSync();
    6263
     64
     65    virtual void setAbsDirPlay(const Quaternion& rot) = 0;
     66    void setAbsDirPlay(float angle, float dirX, float dirY, float dirZ) { this->setAbsDirPlay(Quaternion(angle, Vector(dirX, dirY, dirZ))); }
     67
    6368    inline void setScore( int score ) { this->score = score; }
    6469    inline int  getScore() { return this->score; }
Note: See TracChangeset for help on using the changeset viewer.