Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8495 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Jun 15, 2006, 9:50:56 PM (19 years ago)
Author:
bensch
Message:

merged the branche atmos back. no conflicts

File:
1 edited

Legend:

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

    r7466 r8495  
    3131*/
    3232KillTarget::KillTarget (const TiXmlElement* root)
    33   : MissionGoal(root)
    34 {
    35   this->setClassID(CL_KILL_TARGET, "KillTarget");
     33        : MissionGoal(root) {
     34    this->setClassID(CL_KILL_TARGET, "KillTarget");
    3635
    37   if( root != NULL)
    38     this->loadParams(root);
     36    if( root != NULL)
     37        this->loadParams(root);
    3938}
    4039
     
    4342 * standard deconstructor
    4443*/
    45 KillTarget::~KillTarget ()
    46 {
    47 
     44KillTarget::~KillTarget () {
    4845}
    4946
    5047
    51 void KillTarget::loadParams(const TiXmlElement* root)
    52 {
    53   MissionGoal::loadParams(root);
     48void KillTarget::loadParams(const TiXmlElement* root) {
     49    MissionGoal::loadParams(root);
    5450
    55   LoadParam(root, "numberofkills", this, KillTarget, setNumberOfKills)
    56        .describe("sets the number of kills a target has to be killed");
    57   LoadParam(root, "targetclassid", this, KillTarget, setTargetClassID)
    58       .describe("sets the targets class id");
     51    LoadParam(root, "numberofkills", this, KillTarget, setNumberOfKills)
     52    .describe("sets the number of kills a target has to be killed");
     53    LoadParam(root, "targetclassid", this, KillTarget, setTargetClassID)
     54    .describe("sets the targets class id");
    5955}
    6056
    6157
    62 MissionState KillTarget::checkMissionGoal(float dt)
    63 {
     58MissionState KillTarget::checkMissionGoal(float dt) {}
    6459
    65 }
    66 
    67 
    68 
    69 
    70 
Note: See TracChangeset for help on using the changeset viewer.