Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8237


Ignore:
Timestamp:
Apr 12, 2011, 7:54:36 PM (13 years ago)
Author:
kmaurus
Message:

some comments added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h

    r8201 r8237  
    5050
    5151       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)
    5358*/
    5459
     
    6166            ~SpaceBoundaries();
    6267           
    63             void setMaxDistance(float r);
     68            void se     tMaxDistance(float r);
    6469            float getMaxDistance();
    6570           
     
    8186                                   //!< Empfohlene Werte: 0.1 (langsame Health-Verminderung) bis 5 (sehr schnelle Health-Verminderung)
    8287           
    83             RadarViewable* centerRadar_; //!< Repraesentation von 'this->getPosition()' auf dem Radar.
     88            RadarViewable* centerRadar_; //!< Repraesentation von SpaceBoundaries auf dem Radar.
    8489       
    8590            float computeDistance(WorldEntity *item); //!< Auf den Mittelpunkt 'this->getPosition()' bezogen.
Note: See TracChangeset for help on using the changeset viewer.