- Timestamp:
- Nov 2, 2015, 4:48:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/AI_HS15/src/orxonox/controllers/WingmanController.cc
r10731 r10759 41 41 this->actionTimer_.setTimer(ACTION_INTERVAL, true, createExecutor(createFunctor(&WingmanController::action, this))); 42 42 this->myLeader_ = 0; 43 this->rank_ = WINGMAN;43 this->rank_ = Rank::WINGMAN; 44 44 45 45 } … … 53 53 { 54 54 //------------------------------------------------------- 55 55 /* if (this->target_) 56 { 57 this->aimAtTarget(); 58 this->doFire(); 59 this->bShooting_ = true; 60 }*/ 56 61 57 62 if (!this->isActive()) … … 88 93 orxout(internal_error) << "new Leader set" << endl; 89 94 else 90 orxout(internal_error) << "0 leader" << endl; 95 { 96 //orxout(internal_error) << "0 leader" << endl; 97 98 } 91 99 92 100 } … … 113 121 //0ptr? 114 122 if (!it || 115 (it->getRank() != SECTIONLEADER && it->getRank() !=DIVISIONLEADER) ||123 (it->getRank() != Rank::SECTIONLEADER && it->getRank() != Rank::DIVISIONLEADER) || 116 124 !(it->getControllableEntity())) 117 125 continue;
Note: See TracChangeset
for help on using the changeset viewer.