Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 30, 2010, 11:54:45 PM (15 years ago)
Author:
solex
Message:

minor changes to ai controllers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/src/orxonox/controllers/ArtificialController.h

    r6997 r7029  
    2323 *      Fabian 'x3n' Landau
    2424 *   Co-authors:
    25  *      ...
     25 *      Dominik Solenicki
    2626 *
    2727 */
     
    5858            inline bool getFormationFlight() const
    5959                { return this->formationFlight_; }
     60            inline void setFormationSize(int size)
     61                { this->maxFormationSize_ = size; }
     62            inline int getFormationSize() const
     63                { return this->maxFormationSize_; }
    6064            virtual void changedControllableEntity();
    6165
     
    105109            void spinInit();
    106110            void spin();
    107             void followHuman(Pawn* humanController, bool always);
     111            void followHumanInit(Pawn* human, bool always);
     112            void follow();
    108113
    109114            void setTargetPosition(const Vector3& target);
Note: See TracChangeset for help on using the changeset viewer.