Changeset 6561 in orxonox.OLD for trunk/src/world_entities/creatures
- Timestamp:
- Jan 18, 2006, 3:00:56 PM (19 years ago)
- Location:
- trunk/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/creatures/md2_creature.cc
r6512 r6561 208 208 } 209 209 210 211 /**212 * adds a weapon to the weapon list of the MD2Creature213 * @param weapon to add214 */215 void MD2Creature::addWeapon(Weapon* weapon)216 {217 this->getWeaponManager()->addWeapon(weapon);218 }219 220 221 /**222 * removes a weapon from the MD2Creature223 * @param weapon to remove224 */225 void MD2Creature::removeWeapon(Weapon* weapon)226 {227 this->getWeaponManager()->removeWeapon(weapon);228 }229 210 230 211 /** -
trunk/src/world_entities/creatures/md2_creature.h
r6512 r6561 29 29 virtual void enter(); 30 30 virtual void leave(); 31 32 void addWeapon(Weapon* weapon );33 void removeWeapon(Weapon* weapon);34 31 35 32 virtual void postSpawn();
Note: See TracChangeset
for help on using the changeset viewer.