Changeset 9685 in orxonox.OLD for branches/new_class_id/src/world_entities/weapons/ammo_container.h
- Timestamp:
- Aug 22, 2006, 1:16:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/weapons/ammo_container.h
r9684 r9685 19 19 20 20 public: 21 AmmoContainer( ClassID projectileType, float maxEnergy = DEFAULT_MAX_ENERGY);21 AmmoContainer(NewClassID id, float maxEnergy = DEFAULT_MAX_ENERGY); 22 22 virtual ~AmmoContainer(); 23 23 24 24 bool operator=(int projectileType) const { return (this->projectileType == projectileType); }; 25 ClassID getProjectileType() const { return this->projectileType; };25 NewClassID getProjectileType() const { return this->projectileType; }; 26 26 27 27 float increaseEnergy(float energy); … … 41 41 float maxEnergy; 42 42 43 ClassID projectileType;43 NewClassID projectileType; 44 44 }; 45 45
Note: See TracChangeset
for help on using the changeset viewer.