Changeset 5356 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Oct 10, 2005, 8:17:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.h
r5355 r5356 106 106 107 107 // FUNCTIONS TO SET THE WEAPONS PROPERTIES. 108 void setProjectile (ClassID projectile);109 void setProjectile (const char* projectile);108 void setProjectileType(ClassID projectile); 109 void setProjectileType(const char* projectile); 110 110 /** @returns The projectile's classID */ 111 inline ClassID getProjectile () { return this->projectile; };111 inline ClassID getProjectileType() { return this->projectile; }; 112 112 /** @returns the FastFactory, that creates Projectiles of type getProjectile */ 113 113 inline FastFactory* getProjectileFactory() { return this->projectileFactory; }; 114 void prepareProjectiles(unsigned int count); 115 Projectile* getProjectile(); 114 116 115 117
Note: See TracChangeset
for help on using the changeset viewer.