- Timestamp:
- Nov 23, 2015, 9:08:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/DivisionController.cc
r10840 r10843 64 64 void DivisionController::tick(float dt) 65 65 { 66 66 67 if (!this->isActive()) 67 68 return; 68 if (this->bHasTargetPosition_) 69 { 70 this->moveToTargetPosition(dt); 71 } 72 else if (this->bLookAtTarget_) 73 { 74 this->lookAtTarget(dt); 75 } 76 if (bShooting_) 77 { 78 this->doFire(); 79 } 69 80 70 81 71 SUPER(DivisionController, tick, dt);
Note: See TracChangeset
for help on using the changeset viewer.