Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

trunk: WeaponManager update

File:
1 edited

Legend:

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

    r6512 r6561  
    7171    PNode* getParent() const { return this->parent; };
    7272
    73     void addWeapon(Weapon* weapon, int configID = -1, int slotID = -1);
     73    bool addWeapon(Weapon* weapon);
     74    bool addWeapon(Weapon* weapon, int configID = -1, int slotID = -1);
    7475    void removeWeapon(Weapon* weapon, int configID = -1);
    7576    Weapon* getWeapon(int slotID) const { return (slotID >= 0 && slotID < this->slotCount)? this->currentSlotConfig[slotID].nextWeapon: NULL; };
Note: See TracChangeset for help on using the changeset viewer.