- Timestamp:
- Nov 24, 2015, 5:52:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/DivisionController.cc
r10849 r10850 74 74 void DivisionController::action() 75 75 { 76 77 78 /* if (this->target_)79 {80 if (CommonController::distance (this->getControllableEntity(), newTarget) <81 CommonController::distance (this->getControllableEntity(), target_))82 {83 Actionpoint* ap = new Actionpoint(this->getContext());84 ap->setPosition (0, 0, 0);85 ap->setActionXML ("FIGHT");86 //ap->setEnemyXML(CommonController::getName(newTarget));87 this->addActionpoint (ap);88 }89 90 }*/91 76 //----Whatever ship is doing, if there are targets close to it and its own target is far away, fight them---- 92 77 //analog to attack move
Note: See TracChangeset
for help on using the changeset viewer.