Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2015, 10:24:20 PM (8 years ago)
Author:
gania
Message:

cleaned up a bit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/campaignHS15/src/orxonox/controllers/MasterController.h

    r10954 r10955  
    3737namespace orxonox
    3838{
     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    */
    3952    class _OrxonoxExport MasterController : public FightingController, public Tickable
    4053    {
     
    5467         
    5568        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
    5871            unsigned int numberOfTicksPassedSinceLastActionCall_;
    59             unsigned int ticks_;     //<! local tick counter           
     72            unsigned int ticks_;                                     //<! local tick counter           
    6073
    6174    };
Note: See TracChangeset for help on using the changeset viewer.