Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2015, 12:20:00 PM (9 years ago)
Author:
gania
Message:

move functions were added, everyone stays in formations

File:
1 edited

Legend:

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

    r10725 r10729  
    4242            SectionController(Context* context);
    4343            virtual ~SectionController();
    44             virtual bool setWingman(CommonController* wingman)
     44            virtual bool setWingman(CommonController* cwingman)
    4545            {
     46                WeakPtr<WingmanController> wingman = orxonox_cast<WingmanController*>(cwingman);
     47
    4648                if (!this->myWingman_)
    4749                {
     
    5456                }
    5557            }
     58
    5659
    5760            virtual bool hasWingman()
     
    6972
    7073        protected:
    71             void setDesiredPositionOfWingman();
    72             void keepDivisionTick();
     74            void setTargetPositionOfWingman();
    7375            //A division is the biggest block of spaceships.
    7476            //In division one section is leading, the other one always stays on the same position
Note: See TracChangeset for help on using the changeset viewer.