Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 22, 2015, 5:06:38 PM (8 years ago)
Author:
gania
Message:

some comments added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/AI_HS15/src/orxonox/controllers/DivisionController.h

    r10731 r10826  
    4242      {
    4343        public:
     44            //----[language demanded functions]----           
     45                DivisionController(Context* context);
    4446
    45                 DivisionController(Context* context);
    46                 virtual ~DivisionController();
     47                virtual ~DivisionController();
     48            //----[/language demanded functions]----           
    4749
    48             virtual void tick(float dt); //<! Carrying out the targets set in action().
     50            //----[orxonox demanded functions]----
     51                virtual void tick(float dt);
    4952
    50                
    51                         virtual bool setFollower(LeaderController* myFollower);
    52                         virtual bool setWingman(CommonController* cwingman);
    53             virtual bool hasWingman();
    54             virtual bool hasFollower();
     53                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);         
     54            //----[orxonox demanded functions]----
    5555
    56             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);         
     56            //----[own functions]----
     57                virtual bool setFollower(LeaderController* myFollower);
     58                virtual bool setWingman(CommonController* cwingman);
     59                virtual bool hasWingman();
     60                virtual bool hasFollower();
     61
     62                void setTargetPositionOfWingman();
     63                void setTargetPositionOfFollower();
     64            //----[/own functions]----
    5765
    5866        protected:
    59            
    60             void setTargetPositionOfWingman();
    61             void setTargetPositionOfFollower();
    62 
    63             virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour ~ setting targets.
     67            //----action must only be managed by this----
     68            virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour.
    6469           
    6570        private:
    66 
     71            //----private variables-----
    6772            Timer actionTimer_; //<! Regularly calls action().
    6873
Note: See TracChangeset for help on using the changeset viewer.