Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2006, 12:19:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/ammo_container.h

    r6671 r9869  
    1717//! A class for Storing energy of Projectiles.
    1818class AmmoContainer : public BaseObject {
     19  ObjectListDeclaration(AmmoContainer);
    1920
    2021 public:
    21   AmmoContainer(ClassID projectileType, float maxEnergy = DEFAULT_MAX_ENERGY);
     22  AmmoContainer(const ClassID& id, float maxEnergy = DEFAULT_MAX_ENERGY);
    2223  virtual ~AmmoContainer();
    2324
    24   bool operator=(ClassID projectileType) const { return (this->projectileType == projectileType); };
     25  bool operator=(int projectileType) const { return (this->projectileType == projectileType); };
    2526  ClassID getProjectileType() const { return this->projectileType; };
    2627
Note: See TracChangeset for help on using the changeset viewer.