Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7463 in orxonox.OLD for trunk/src/util/mission_goal.cc


Ignore:
Timestamp:
May 1, 2006, 4:03:01 PM (19 years ago)
Author:
patrick
Message:

mission goals now get loaded correctly with all attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/mission_goal.cc

    r7461 r7463  
    1717
    1818#include "mission_goal.h"
     19
     20#include "util/loading/load_param.h"
    1921
    2022using namespace std;
     
    4244}
    4345
    44 
     46/**
     47 * loading parameter function: more help on the wiki pages
     48 */
    4549void MissionGoal::loadParams(const TiXmlElement* root)
    4650{
    4751  BaseObject::loadParams(root);
     52
     53  LoadParam(root, "title", this, MissionGoal, setMissionName)
     54      .describe("sets the title of the mission");
     55  LoadParam(root, "description", this, MissionGoal, setMissionDescription)
     56      .describe("sets the mission description");
    4857}
     58
Note: See TracChangeset for help on using the changeset viewer.