Changeset 10215 for code/branches/presentationFS14/src/modules/objects/controllers/TeamTargetProxy.cc
- Timestamp:
- Jan 31, 2015, 5:31:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationFS14/src/modules/objects/controllers/TeamTargetProxy.cc
r10072 r10215 33 33 namespace orxonox 34 34 { 35 35 RegisterClass(TeamTargetProxy); 36 36 37 37 /** … … 42 42 The context 43 43 */ 44 45 46 44 TeamTargetProxy::TeamTargetProxy(Context* context) : FormationController(context) 45 { 46 RegisterObject(TeamTargetProxy); 47 47 48 49 48 this->once_ = false; 49 } 50 50 51 51 /** … … 53 53 Destructor. Nothing to see here. 54 54 */ 55 56 57 55 TeamTargetProxy::~TeamTargetProxy() 56 { 57 } 58 58 59 59 /** … … 63 63 That's all there is. 64 64 */ 65 66 67 68 65 void TeamTargetProxy::tick(float dt) 66 { 67 if (!this->isActive() || !this->getControllableEntity()) 68 return; 69 69 70 70 ControllableEntity* parent = orxonox_cast<ControllableEntity*> (this->getControllableEntity()->getParent()); … … 102 102 } 103 103 } 104 104 } 105 105 }
Note: See TracChangeset
for help on using the changeset viewer.