- Timestamp:
- May 7, 2013, 3:58:33 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/formationupdate/src/orxonox/controllers/FormationController.h
r9620 r9621 59 59 static void passivebehaviour(const bool passive); 60 60 static void formationsize(const int size); 61 void setNewMasterWithinFormation();62 61 void setNewMasterWithinFormation(FormationController* newMaster); 63 62 … … 100 99 virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage); 101 100 102 /* Just for testing purposes: report the master. */103 101 FormationController* getMaster( void ) { return myMaster_; } 104 FormationController* get This( void ) { return this; }102 FormationController* getController( void ) { return this; } 105 103 FormationController* getSlave( void ) { return this->slaves_.back(); } 106 104 … … 136 134 void takeLeadOfFormation(); 137 135 void loseMasterState(); 136 void setNewMasterWithinFormation(); 138 137 139 138 void freeSlaves();
Note: See TracChangeset
for help on using the changeset viewer.