Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5652 in orxonox.OLD for trunk/src/lib/physics/physics_connection.cc


Ignore:
Timestamp:
Nov 20, 2005, 6:32:39 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new LoadParam procedure with all NON-cycling load-options, and it works perfectly (on first sight :))

now going to make the same for cycling LoadOptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/physics/physics_connection.cc

    r5357 r5652  
    5252  static_cast<BaseObject*>(this)->loadParams(root);
    5353
    54   LoadParam<PhysicsConnection>(root, "subject", this, &PhysicsConnection::setSubject)
     54  LoadParamNEW(root, "subject", this, PhysicsConnection, setSubject)
    5555      .describe("set the subject by a name");
    5656
    57   LoadParam<PhysicsConnection>(root, "field", this, &PhysicsConnection::setField)
     57  LoadParamNEW(root, "field", this, PhysicsConnection, setField)
    5858      .describe("set the field by name");
    5959
Note: See TracChangeset for help on using the changeset viewer.