Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 8, 2015, 1:02:25 PM (10 years ago)
Author:
gania
Message:

separated MasterController from my hierarchy

File:
1 edited

Legend:

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

    r10955 r10958  
    6060            virtual void maneuver(); //<! sets this->targetPosition_, which is a Vector3 of where this ship flies. Decision is made based on
    6161                             //<! the distance to enemy, if being attacked, dodge() is called, otherwise ship just flies towards this->target_.
    62             bool bShooting_;
     62            bool bShooting_;    //<! if true, ship shoots each tick
    6363            bool canFire(); //<! check if target_ is in radius and if this is looking at target_
    64             virtual void action(){};//<! action() is called in regular intervals managing the bot's behaviour. Only gets called by MasterController, is implemented in ActionpointController
    6564        protected:
    6665            void setTarget(ControllableEntity* target); //set a target to shoot at
Note: See TracChangeset for help on using the changeset viewer.