Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 19, 2006, 2:11:14 AM (18 years ago)
Author:
bensch
Message:

some nice fixes

File:
1 edited

Legend:

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

    r7338 r7339  
    6161  virtual void setCameraMode(unsigned int cameraMode = 0);
    6262  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; };
    6465
    6566  virtual void collidesWith(WorldEntity* entity, const Vector& location);
     
    8384  inline int  getScore() { return this->score; }
    8485
     86
     87  // Transformations:
     88  static Playable::Playmode stringToPlaymode(const std::string& playmode);
     89  static const char* playmodeToString(Playable::Playmode playmode);
    8590protected:
    8691  Playable();
Note: See TracChangeset for help on using the changeset viewer.