- Timestamp:
- Oct 31, 2015, 12:20:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/SectionController.h
r10725 r10729 42 42 SectionController(Context* context); 43 43 virtual ~SectionController(); 44 virtual bool setWingman(CommonController* wingman)44 virtual bool setWingman(CommonController* cwingman) 45 45 { 46 WeakPtr<WingmanController> wingman = orxonox_cast<WingmanController*>(cwingman); 47 46 48 if (!this->myWingman_) 47 49 { … … 54 56 } 55 57 } 58 56 59 57 60 virtual bool hasWingman() … … 69 72 70 73 protected: 71 void setDesiredPositionOfWingman(); 72 void keepDivisionTick(); 74 void setTargetPositionOfWingman(); 73 75 //A division is the biggest block of spaceships. 74 76 //In division one section is leading, the other one always stays on the same position
Note: See TracChangeset
for help on using the changeset viewer.