Changeset 7092 in orxonox.OLD for trunk/src/world_entities/playable.h
- Timestamp:
- Feb 7, 2006, 5:27:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.h
r7072 r7092 28 28 virtual ~Playable(); 29 29 30 virtual void loadParams(const TiXmlElement* root); 30 31 31 32 virtual void die(); … … 61 62 bool needsReadSync(); 62 63 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 63 68 inline void setScore( int score ) { this->score = score; } 64 69 inline int getScore() { return this->score; }
Note: See TracChangeset
for help on using the changeset viewer.