Changeset 7339 in orxonox.OLD for trunk/src/world_entities/playable.h
- Timestamp:
- Apr 19, 2006, 2:11:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.h
r7338 r7339 61 61 virtual void setCameraMode(unsigned int cameraMode = 0); 62 62 bool playmodeSupported(Playable::Playmode playmode) const { return this->supportedPlaymodes & playmode; }; 63 bool setPlayMode(Playable::Playmode playmode); 63 bool setPlaymode(Playable::Playmode playmode); 64 Playable::Playmode getPlaymode() const { return this->playmode; }; 64 65 65 66 virtual void collidesWith(WorldEntity* entity, const Vector& location); … … 83 84 inline int getScore() { return this->score; } 84 85 86 87 // Transformations: 88 static Playable::Playmode stringToPlaymode(const std::string& playmode); 89 static const char* playmodeToString(Playable::Playmode playmode); 85 90 protected: 86 91 Playable();
Note: See TracChangeset
for help on using the changeset viewer.