Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

some comments added

File:
1 edited

Legend:

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

    r10731 r10826  
    4040    {
    4141        public:
     42            //----[language demanded functions]----           
     43                SectionController(Context* context);
    4244
    43             SectionController(Context* context);
    44             virtual ~SectionController();
     45                virtual ~SectionController();
     46            //----[/language demanded functions]----
    4547           
    46             virtual void tick(float dt); //<! Carrying out the targets set in action().
     48            //----[orxonox demanded functions]----
     49                virtual void tick(float dt);
     50               
     51                virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     52            //----[/orxonox demanded functions]----
    4753           
     54            //----[own functions]----
     55                LeaderController* findNewDivisionLeader();
     56                void setTargetPositionOfWingman();
    4857
    49             LeaderController* findNewDivisionLeader();
    50             virtual bool setWingman(CommonController* cwingman);
    51             virtual bool hasWingman();
    52            
    53             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     58                virtual bool setWingman(CommonController* cwingman);
     59                virtual bool hasWingman();
    5460
    55         protected:
     61                void chooseTarget();
     62            //----[/own functions]----
    5663
    57             void setTargetPositionOfWingman();
    58            
    59             virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour ~ setting targets.
     64        protected:       
     65            //----action must only be managed by this----     
     66                virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour.
    6067
    6168        private:
    62 
    63             Timer actionTimer_; //<! Regularly calls action().
     69            //----private variables-----
     70                Timer actionTimer_; //<! Regularly calls action().
    6471           
    6572
Note: See TracChangeset for help on using the changeset viewer.