Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 22, 2006, 1:16:23 PM (18 years ago)
Author:
bensch
Message:

adapted many classes to the new ClassID System, now comes the hard part… Scripting… then Network… wow this will be so bad :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/world_entities/weapons/ammo_container.h

    r9684 r9685  
    1919
    2020 public:
    21   AmmoContainer(ClassID projectileType, float maxEnergy = DEFAULT_MAX_ENERGY);
     21  AmmoContainer(NewClassID id, float maxEnergy = DEFAULT_MAX_ENERGY);
    2222  virtual ~AmmoContainer();
    2323
    2424  bool operator=(int projectileType) const { return (this->projectileType == projectileType); };
    25   ClassID getProjectileType() const { return this->projectileType; };
     25  NewClassID getProjectileType() const { return this->projectileType; };
    2626
    2727  float increaseEnergy(float energy);
     
    4141   float  maxEnergy;
    4242
    43    ClassID projectileType;
     43   NewClassID projectileType;
    4444};
    4545
Note: See TracChangeset for help on using the changeset viewer.