Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2012, 12:00:53 AM (12 years ago)
Author:
landauf
Message:

added missing call to RegisterObject (it crashed on windows)
moved XMLPort from WaypointController to ArtificialController

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/controllers/WaypointController.cc

    r8891 r9252  
    3030
    3131#include "core/CoreIncludes.h"
    32 #include "core/XMLPort.h"
    3332#include "worldentities/ControllableEntity.h"
    3433
     
    5251    }
    5352
    54     void WaypointController::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    55     {
    56         SUPER(WaypointController, XMLPort, xmlelement, mode);
    57 
    58         XMLPortParam(ArtificialController, "accuracy", setAccuracy, getAccuracy, xmlelement, mode).defaultValues(100.0f);
    59         XMLPortObject(ArtificialController, WorldEntity, "waypoints", addWaypoint, getWaypoint,  xmlelement, mode);
    60     }
    61 
    6253    void WaypointController::tick(float dt)
    6354    {
Note: See TracChangeset for help on using the changeset viewer.