Changeset 9061 in orxonox.OLD for trunk/src/world_entities/playable.h
- Timestamp:
- Jul 3, 2006, 6:39:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.h
r8724 r9061 56 56 57 57 // Player Settup 58 bool hasPlayer(){return !(this->currentPlayer == NULL);} 58 59 bool setPlayer(Player* player); 59 60 Player* getCurrentPlayer() const { return this->currentPlayer; }; … … 74 75 inline int getScore() { return this->score; } 75 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; }; 76 80 77 81 // WorldEntity Extensions … … 116 120 Playable::Playmode playmode; //!< The current playmode. 117 121 122 float enterRadius; //!< How far one can be away from the Playable to enter it. 123 118 124 WorldEntity* collider; 119 125 };
Note: See TracChangeset
for help on using the changeset viewer.