Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6561 in orxonox.OLD for trunk/src/world_entities/creatures


Ignore:
Timestamp:
Jan 18, 2006, 3:00:56 PM (19 years ago)
Author:
bensch
Message:

trunk: WeaponManager update

Location:
trunk/src/world_entities/creatures
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/creatures/md2_creature.cc

    r6512 r6561  
    208208}
    209209
    210 
    211 /**
    212  * adds a weapon to the weapon list of the MD2Creature
    213  * @param weapon to add
    214 */
    215 void MD2Creature::addWeapon(Weapon* weapon)
    216 {
    217   this->getWeaponManager()->addWeapon(weapon);
    218 }
    219 
    220 
    221 /**
    222  *  removes a weapon from the MD2Creature
    223  * @param weapon to remove
    224 */
    225 void MD2Creature::removeWeapon(Weapon* weapon)
    226 {
    227   this->getWeaponManager()->removeWeapon(weapon);
    228 }
    229210
    230211/**
  • trunk/src/world_entities/creatures/md2_creature.h

    r6512 r6561  
    2929    virtual void enter();
    3030    virtual void leave();
    31 
    32     void addWeapon(Weapon* weapon );
    33     void removeWeapon(Weapon* weapon);
    3431
    3532    virtual void postSpawn();
Note: See TracChangeset for help on using the changeset viewer.