Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 25, 2009, 8:43:46 PM (15 years ago)
Author:
scheusso
Message:

not using the XMLPortParamVariable hack anymore in the Drone class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/src/orxonox/worldentities/Drone.cc

    r5786 r5787  
    7171        SUPER(Drone, XMLPort, xmlelement, mode);
    7272
    73         XMLPortParamVariable(Drone, "primaryThrust",  primaryThrust_,  xmlelement, mode);
    74         XMLPortParamVariable(Drone, "auxilaryThrust", auxilaryThrust_, xmlelement, mode);
    75         XMLPortParamVariable(Drone, "rotationThrust", rotationThrust_, xmlelement, mode);
     73        XMLPortParam(Drone, "primaryThrust",  setPrimaryThrust, getPrimaryThrust,  xmlelement, mode);
     74        XMLPortParam(Drone, "auxilaryThrust", setAuxilaryThrust, getAuxilaryThrust, xmlelement, mode);
     75        XMLPortParam(Drone, "rotationThrust", setRotationThrust, getRotationThrust, xmlelement, mode);
    7676    }
    7777
Note: See TracChangeset for help on using the changeset viewer.