Changeset 10672 in orxonox.OLD for branches/vs-enhencements/src/world_entities/weapons/weapon_slot.h
- Timestamp:
- Jun 5, 2007, 11:01:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/weapons/weapon_slot.h
r10534 r10672 8 8 9 9 #include "p_node.h" 10 10 #include "weapon.h" 11 11 12 12 class Weapon; … … 36 36 inline void setNextWeapon(Weapon* weapon) { this->nextWeapon = weapon; } 37 37 38 inline void setNextWeapon(const std::string& weaponName){this->nextWeapon = Weapon::createWeapon(weaponName); }; 39 inline void setCurrentWeapon(const std::string& weaponName){ this->currentWeapon = Weapon::createWeapon(weaponName); }; 40 38 41 39 42 inline void setWeaponConfig(int slot, int side) { this->weaponSlot = slot; this->weaponSide = side; }
Note: See TracChangeset
for help on using the changeset viewer.