Changeset 10534 in orxonox.OLD for trunk/src/world_entities/weapons/weapon_slot.h
- Timestamp:
- Jan 31, 2007, 3:13:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon_slot.h
r10440 r10534 36 36 inline void setNextWeapon(Weapon* weapon) { this->nextWeapon = weapon; } 37 37 38 39 inline void setWeaponConfig(int slot, int side) { this->weaponSlot = slot; this->weaponSide = side; } 40 inline int getWeaponSlot() { return this->weaponSlot; } 41 inline int getWeaponSide() { return this->weaponSide; } 42 43 38 44 private: 45 46 int weaponSlot; 47 int weaponSide; 39 48 40 49 long capability; //!< the capabilities of the Slot @see WeaponSlotCapability.
Note: See TracChangeset
for help on using the changeset viewer.