Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 1, 2006, 8:06:39 PM (18 years ago)
Author:
bensch
Message:

renamed newclassid to classid and newobjectlist to objectlist

File:
1 edited

Legend:

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

    r9705 r9715  
    1717//! A class for Storing energy of Projectiles.
    1818class AmmoContainer : public BaseObject {
    19   NewObjectListDeclaration(AmmoContainer);
     19  ObjectListDeclaration(AmmoContainer);
    2020
    2121 public:
    22   AmmoContainer(const NewClassID& id, float maxEnergy = DEFAULT_MAX_ENERGY);
     22  AmmoContainer(const ClassID& id, float maxEnergy = DEFAULT_MAX_ENERGY);
    2323  virtual ~AmmoContainer();
    2424
    2525  bool operator=(int projectileType) const { return (this->projectileType == projectileType); };
    26   NewClassID getProjectileType() const { return this->projectileType; };
     26  ClassID getProjectileType() const { return this->projectileType; };
    2727
    2828  float increaseEnergy(float energy);
     
    4242   float  maxEnergy;
    4343
    44    NewClassID projectileType;
     44   ClassID projectileType;
    4545};
    4646
Note: See TracChangeset for help on using the changeset viewer.