Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

separated MasterController from my hierarchy

File:
1 edited

Legend:

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

    r10946 r10958  
    7272            FormationMode::Value getFormationMode() const
    7373                { return this->formationMode_; }
    74 
     74            bool bCopyOrientation_;                             //<! set to true by default, MasterController sets it in its tick(),
     75                                                                //<! if true, this will set its leader orientation as target orientation in action()
    7576        protected:
    7677            void stopMoving();                                  //<! don't call moveToTargetPosition() in tick, call lookAtTarget() from FightingController instead
     
    8687            void setTargetOrientation(ControllableEntity* target);      //<! preset a desired orientation
    8788            virtual void boostControl();                                //<! boost if you can
    88             void keepFormation (const ControllableEntity* leaderEntity, Vector3& targetRelativePosition);   //<! preset targetPosition, so that
    89                                                                                                             //<! this stays in a certain position relative to leader     
     89            void keepFormation (const ControllableEntity* leaderEntity,
     90                                Vector3& targetRelativePosition);   //<! preset targetPosition, so that
     91                                                                    //<! this stays in a certain position relative to leader     
    9092           
    9193            FormationMode::Value formationMode_;
Note: See TracChangeset for help on using the changeset viewer.