Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7462 in orxonox.OLD for trunk/src/util/kill_target.cc


Ignore:
Timestamp:
May 1, 2006, 3:21:40 PM (18 years ago)
Author:
patrick
Message:

mission goals loadable

File:
1 edited

Legend:

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

    r7461 r7462  
    1818#include "kill_target.h"
    1919
     20#include "util/loading/factory.h"
     21
    2022using namespace std;
     23
     24CREATE_FACTORY(KillTarget, CL_KILL_TARGET);
    2125
    2226
     
    2933{
    3034  this->setClassID(CL_KILL_TARGET, "KillTarget");
    31 
    32   PRINTF(0)("Created a KillTarget Mission Goal <==================================\n");
    3335
    3436  if( root != NULL)
     
    4951{
    5052  MissionGoal::loadParams(root);
     53
     54  //   LoadParam(root, "death-penalty-timeout", this, SingleplayerShootemup, setDeathPenaltyTimeout)
     55//       .describe("sets the time in seconds a player has to wait for respawn");
    5156}
    5257
     
    5459MissionState KillTarget::checkMissionGoal()
    5560{}
     61
Note: See TracChangeset for help on using the changeset viewer.