Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 3, 2010, 4:51:35 PM (15 years ago)
Author:
gasserlu
Message:

drone follows Owner

Location:
code/branches/ai/src/orxonox
Files:
2 added
2 edited

Legend:

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

    r6524 r6847  
    8282    class ArtificialController;
    8383    class Controller;
     84    class DroneController;
    8485    class HumanController;
    8586    class ScriptController;
     
    161162    class CameraPosition;
    162163    class ControllableEntity;
     164    class Drone;
    163165    class EffectContainer;
    164166    class ExplosionChunk;
  • code/branches/ai/src/orxonox/worldentities/Drone.cc

    r6832 r6847  
    6464       
    6565        myController_ = new DroneController(static_cast<BaseObject*>(this)); //!< Creates a new controller and passes our this pointer to it as creator.
     66        myController_->setDrone(this);
     67
    6668        this->setController(myController_);
    6769    }
Note: See TracChangeset for help on using the changeset viewer.