Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 25, 2006, 9:44:53 PM (18 years ago)
Author:
bensch
Message:

adapted many more classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/power_ups/param_power_up.cc

    r9656 r9705  
    2727
    2828
    29 
     29#include "class_id.h"
    3030CREATE_FACTORY(ParamPowerUp, CL_PARAM_POWER_UP);
     31NewObjectListDefinitionID(ParamPowerUp, CL_PARAM_POWER_UP);
    3132
    3233const char* ParamPowerUp::paramTypes[] = {
     
    5859void ParamPowerUp::init()
    5960{
    60   this->setClassID(CL_PARAM_POWER_UP, "ParamPowerUp");
     61  this->registerObject(this, ParamPowerUp::_objectList);
    6162  this->value = 0;
    6263  this->max_value = 0;
Note: See TracChangeset for help on using the changeset viewer.