- Timestamp:
- Dec 7, 2015, 3:14:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/DivisionController.cc
r10923 r10935 43 43 this->myFollower_ = 0; 44 44 this->myWingman_ = 0; 45 //this->actionTimer_.setTimer(ACTION_INTERVAL, true, createExecutor(createFunctor(&DivisionController::action, this)));46 45 } 47 46 … … 61 60 SUPER(DivisionController, XMLPort, xmlelement, mode); 62 61 63 //XMLPortParam(DivisionController, "target_", setTarget, getTarget, xmlelement, mode).defaultValues(100.0f);64 62 } 65 63 void DivisionController::tick(float dt) … … 68 66 return; 69 67 SUPER(DivisionController, tick, dt); 70 /*if (this->timeOffset_ >= 0.0f && this->timeOffset_ <= 0.8f && !this->bActionCalled_)71 {72 this->action();73 this->bActionCalled_ = true;74 }75 if (this->timeOffset_ > 1.6f)76 {77 this->bActionCalled_ = false;78 }*/79 80 68 81 69 }
Note: See TracChangeset
for help on using the changeset viewer.










