- Timestamp:
- Nov 23, 2015, 9:08:28 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/CommonController.cc
r10840 r10843 69 69 //orxout(internal_error) << "I died, my Rank is " << rank_ << endl; 70 70 } 71 71 72 72 void CommonController::XMLPort( Element& xmlelement, XMLPort::Mode mode ) 73 73 { … … 85 85 void CommonController::tick(float dt) 86 86 { 87 87 if (this->bHasTargetPosition_) 88 { 89 this->moveToTargetPosition(dt); 90 } 91 else if (this->bLookAtTarget_) 92 { 93 this->lookAtTarget(dt); 94 } 95 if (bShooting_) 96 { 97 this->doFire(); 98 } 99 SUPER(CommonController, tick, dt); 88 100 } 89 101
Note: See TracChangeset
for help on using the changeset viewer.