Changeset 8237
- Timestamp:
- Apr 12, 2011, 7:54:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h
r8201 r8237 50 50 51 51 Four attributes can/should be defined in the XML-File: 52 'position', 'warnDistance', 'maxDistance', 'healthDecrease'. 52 - 'position' : absolute position of the SpaceBoundaries class. '*Distance' refers to this 'position'. 53 - 'warnDistance' : If the distance between the pawn of the human player and 'position' is bigger than 'warnDistance', a message is displayed to 54 inform the player that he'll soon be leaving the allowed area. 55 - 'maxDistance' : defines the area, where a pawn is allowed to be (radius of a ball). 56 - 'healthDecrease' : a measure to define how fast the health of a pawn should decrease after leaving the allowed area. 57 Empfohlene Werte: 0.1 (langsame Health-Verminderung) bis 5 (sehr schnelle Health-Verminderung) 53 58 */ 54 59 … … 61 66 ~SpaceBoundaries(); 62 67 63 void se tMaxDistance(float r);68 void se tMaxDistance(float r); 64 69 float getMaxDistance(); 65 70 … … 81 86 //!< Empfohlene Werte: 0.1 (langsame Health-Verminderung) bis 5 (sehr schnelle Health-Verminderung) 82 87 83 RadarViewable* centerRadar_; //!< Repraesentation von 'this->getPosition()'auf dem Radar.88 RadarViewable* centerRadar_; //!< Repraesentation von SpaceBoundaries auf dem Radar. 84 89 85 90 float computeDistance(WorldEntity *item); //!< Auf den Mittelpunkt 'this->getPosition()' bezogen.
Note: See TracChangeset
for help on using the changeset viewer.