Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2015, 8:02:23 PM (9 years ago)
Author:
gania
Message:

All compiling, WingmanControllers actually find LeaderControllers and connect to them, SectionControllers find DivisionControllers and connect. TODO write tick functions, helper functions to CommonController

File:
1 edited

Legend:

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

    r10717 r10719  
    4646            WingmanController(Context* context);
    4747            virtual ~WingmanController();
    48             virtual bool isLeader();
    49           //virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
     48            virtual bool isLeader()
     49            {
     50                return false;
     51            };
     52            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    5053            virtual void tick(float dt); //<! Carrying out the targets set in action().
     54            CommonController* findNewLeader();
    5155
    5256        protected:
    53             CommonController* findNewLeader();
    5457
    5558            virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour ~ setting targets.
     
    6568            //LeaderController* leader_;
    6669
    67             //Timer actionTimer_; //<! Regularly calls action().
     70            Timer actionTimer_; //<! Regularly calls action().
    6871           
    6972    };
Note: See TracChangeset for help on using the changeset viewer.