Changeset 9715 in orxonox.OLD for branches/new_class_id/src/world_entities/weapons/weapon.cc
- Timestamp:
- Sep 1, 2006, 8:06:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/world_entities/weapons/weapon.cc
r9709 r9715 35 35 #include "elements/glgui_energywidget.h" 36 36 37 NewObjectListDefinition(Weapon);37 ObjectListDefinition(Weapon); 38 38 39 39 //////////////////// … … 72 72 * @returns the newly created Weapon. 73 73 */ 74 Weapon* Weapon::createWeapon(const NewClassID& weaponID)74 Weapon* Weapon::createWeapon(const ClassID& weaponID) 75 75 { 76 76 BaseObject* createdObject = Factory::fabricate(weaponID); … … 179 179 * What it does, is telling the Weapon what Projectiles it can Emit. 180 180 */ 181 void Weapon::setProjectileType(const NewClassID& projectile)181 void Weapon::setProjectileType(const ClassID& projectile) 182 182 { 183 183 this->projectile = projectile;
Note: See TracChangeset
for help on using the changeset viewer.