Changeset 9047 in orxonox.OLD for branches/single_player_map/src/world_entities/playable.h
- Timestamp:
- Jul 3, 2006, 4:19:47 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/single_player_map/src/world_entities/playable.h
r9031 r9047 75 75 inline int getScore() { return this->score; } 76 76 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; }; 77 80 78 81 // WorldEntity Extensions … … 117 120 Playable::Playmode playmode; //!< The current playmode. 118 121 122 float enterRadius; //!< How far one can be away from the Playable to enter it. 123 119 124 WorldEntity* collider; 120 125 };
Note: See TracChangeset
for help on using the changeset viewer.