Changeset 5441 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Oct 27, 2005, 11:46:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.h
r5356 r5441 106 106 107 107 // FUNCTIONS TO SET THE WEAPONS PROPERTIES. 108 /** sets the Weapons Capabilities */ 109 inline void setCapability(long capabilities) { this->capability = capabilities; }; 110 /** @returns the Capabilities of this Weapon */ 111 inline long getCapability() { return this->capability; }; 108 112 void setProjectileType(ClassID projectile); 109 113 void setProjectileType(const char* projectile); … … 185 189 186 190 private: 191 // type of Weapon 192 long capability; //!< what capabilities the Weapon has @see W_Capability 193 187 194 // it is all about energy 188 195 float energy; //!< The energy stored in the weapons secondary buffers (reserve)
Note: See TracChangeset
for help on using the changeset viewer.