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/weapon_power_up.cc

    r9406 r9705  
    2727
    2828
    29 
     29#include "class_id.h"
    3030CREATE_FACTORY(WeaponPowerUp, CL_WEAPON_POWER_UP);
     31NewObjectListDefinitionID(WeaponPowerUp, CL_WEAPON_POWER_UP);
    3132
    3233WeaponPowerUp::WeaponPowerUp(const TiXmlElement* root) : PowerUp(1.0, 1.0, 0.0)
     
    4546void WeaponPowerUp::init()
    4647{
    47   this->setClassID(CL_WEAPON_POWER_UP, "WeaponPowerUp");
     48  this->registerObject(this, WeaponPowerUp::_objectList);
    4849  this->loadPickupSound("sound/powerups/whats this2.wav");
    4950
Note: See TracChangeset for help on using the changeset viewer.