- Timestamp:
- Oct 30, 2015, 12:08:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/DivisionController.h
r10719 r10722 65 65 } 66 66 }; 67 virtual bool hasWingman() 68 { 69 if (this->myWingman_) 70 return true; 71 else 72 return false; 73 } 74 virtual bool hasFollower() 75 { 76 if (this->myFollower_) 77 return true; 78 else 79 return false; 80 }; 81 82 67 83 virtual void tick(float dt); //<! Carrying out the targets set in action(). 68 84 69 70 85 71 86 protected: … … 79 94 FormationMode formationMode_; 80 95 81 CommonController* myWingman_; 82 LeaderController* myFollower_; 96 83 97 84 98
Note: See TracChangeset
for help on using the changeset viewer.