- Timestamp:
- Dec 7, 2015, 10:24:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/MasterController.h
r10954 r10955 37 37 namespace orxonox 38 38 { 39 /** 40 @brief 41 calles action(), maneuver() and canFire() methods of all the ActionpointControllers in level. 42 Only one instance of MasterController is to be placed in level. 43 If no MasterController is initialized, none of ActionpointControllers will work. 44 Example: 45 <Pawn position = "100000, 100000, 100000"> 46 <controller> 47 <MasterController> 48 </MasterController> 49 </controller> 50 </Pawn> 51 */ 39 52 class _OrxonoxExport MasterController : public FightingController, public Tickable 40 53 { … … 54 67 55 68 private: 56 std::vector<WeakPtr<FightingController> > controllers_; 57 size_t indexOfCurrentController_; 69 std::vector<WeakPtr<FightingController> > controllers_; //<! vector of controllers, which action(), canFire() and maneuver() methods are to be called 70 size_t indexOfCurrentController_; //<! index of current controller 58 71 unsigned int numberOfTicksPassedSinceLastActionCall_; 59 unsigned int ticks_; //<! local tick counter72 unsigned int ticks_; //<! local tick counter 60 73 61 74 };
Note: See TracChangeset
for help on using the changeset viewer.