Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2015, 5:15:17 PM (9 years ago)
Author:
gania
Message:

added setDesiredPositionOfSlaves() to FormationController, Vector3* desiredRelativePosition_ as a member var to FormationController, added a "stay in formation" functionality to tick of AIController. TODO change from moveToPosition to a Waypoint. Remark: create a WorldEntity object at certain position

File:
1 edited

Legend:

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

    r10670 r10673  
    3030#define _AIController_H__
    3131
    32 #include "OrxonoxPrereqs.h"
     32#include "OrxonoxPrereqs.h" 
    3333
     34#include "util/Math.h"
    3435#include "tools/Timer.h"
    3536#include "tools/interfaces/Tickable.h"
    3637#include "ArtificialController.h"
     38
    3739
    3840namespace orxonox
     
    5557            Timer actionTimer_; //<! Regularly calls action().
    5658            std::vector<WeakPtr<AIController> > enemies_, allies_;
    57             Vector3* desiredRelativePosition_;
    58             Vector3* currentRelativePosition_;
     59           
    5960    };
    6061}
Note: See TracChangeset for help on using the changeset viewer.