- Timestamp:
- Nov 1, 2013, 12:17:13 AM (12 years ago)
- Location:
- code/branches/levelMichael
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/levelMichael
- Property svn:mergeinfo changed
/code/trunk (added) merged: 9703,9716,9728-9730
- Property svn:mergeinfo changed
-
code/branches/levelMichael/src/orxonox/controllers/WaypointPatrolController.h
r9667 r9731 50 50 inline float getAlertnessRadius() const 51 51 { return this->alertnessradius_; } 52 53 inline void setAttackRadius(float distance) 54 { this->attackradius_ = distance; } 55 inline float getAttackRadius() const 56 { return this->attackradius_; } 52 57 53 58 protected: 54 59 void searchEnemy(); 55 60 56 float alertnessradius_; 61 float alertnessradius_; //!< Enemies within this radius are being followed and shot. 62 float attackradius_; //!< Enemies only get shot, if they are within the attackradius_. 57 63 Timer patrolTimer_; 58 64 };
Note: See TracChangeset
for help on using the changeset viewer.