Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 3, 2006, 4:19:47 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Each Playable has an EnterRange

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/single_player_map/src/world_entities/playable.h

    r9031 r9047  
    7575  inline int  getScore() { return this->score; }
    7676
     77  void setEnterRadius(float radius) { this->enterRadius = radius; };
     78  /** @returns the EnterRadius (how far away a Player must be to enter this entity) */
     79  inline float getEnterRadius() const { return this->enterRadius; };
    7780
    7881  // WorldEntity Extensions
     
    117120  Playable::Playmode    playmode;           //!< The current playmode.
    118121
     122  float                 enterRadius;        //!< How far one can be away from the Playable to enter it.
     123
    119124  WorldEntity* collider;
    120125};
Note: See TracChangeset for help on using the changeset viewer.