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