- Timestamp:
- Dec 1, 2015, 10:03:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/SectionController.cc
r10906 r10909 44 44 this->setFormationMode(FormationMode::FINGER4); 45 45 46 this->actionTimer_.setTimer(ACTION_INTERVAL, true, createExecutor(createFunctor(&SectionController::action, this)));46 //this->actionTimer_.setTimer(ACTION_INTERVAL, true, createExecutor(createFunctor(&SectionController::action, this))); 47 47 this->myWingman_ = 0; 48 48 this->myDivisionLeader_ = 0; … … 74 74 75 75 SUPER(SectionController, tick, dt); 76 if (this->timeOffset_ >= 0.5f && this->timeOffset_ <= 1.0f && !this->bActionCalled_) 77 { 78 this->action(); 79 this->bActionCalled_ = true; 80 } 81 if (this->timeOffset_ > 1.5f) 82 { 83 this->bActionCalled_ = false; 84 } 76 85 } 77 86
Note: See TracChangeset
for help on using the changeset viewer.