Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 30, 2015, 11:07:34 PM (8 years ago)
Author:
gania
Message:

fixed pointers

File:
1 edited

Legend:

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

    r10722 r10725  
    4848
    4949                //Using british military aircraft formations
    50                 enum FormationMode {VEE,FINGER4,DIAMOND, WALL};
    51                 void setFormationMode(FormationMode val);
    52                 inline FormationMode getFormationMode() const
    53                         { return this->formationMode_; }
     50               
     51               
    5452                        virtual bool setFollower(LeaderController* myFollower);
    5553                        virtual bool setWingman(CommonController* wingman)
     
    8583
    8684        protected:
     85            void setDesiredPositionOfWingman();
     86            void setDesiredPositionOfFollower();
     87            virtual void action(); //<! action() is called in regular intervals managing the bot's behaviour ~ setting targets.
    8788
    8889                //Target enemy, set by fleet controller.
    89                 WeakPtr<Pawn> target_;
    90                 bool bHasTargetPosition_;
    91                         Vector3 targetPosition_;
    92                         bool bHasTargetOrientation_;
    93                         Quaternion targetOrientation_;
    94                         FormationMode formationMode_;
     90               
    9591                       
    9692                       
     
    9995           
    10096        private:
     97            Timer actionTimer_; //<! Regularly calls action().
     98
    10199    };
    102100}
Note: See TracChangeset for help on using the changeset viewer.