Changeset 4972 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Aug 7, 2005, 10:32:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon.h
r4959 r4972 77 77 // INITIALISATION // 78 78 Weapon (WeaponManager* weaponManager = NULL); 79 Weapon(const TiXmlElement* root);80 79 virtual ~Weapon (); 81 80 … … 89 88 /////////////////// 90 89 91 /** @param weaponManager sets the WeaponManager for this Weapon (NULL if free)) */90 /** @param weaponManager sets the WeaponManager for this Weapon (NULL if free)) */ 92 91 inline void setWeaponManager(WeaponManager* weaponManager) { this->weaponManager = weaponManager; }; 93 92 /** @returns the WeaponManager of this Weapon (or NULL if it is free) */ … … 102 101 103 102 // FUNCTIONS TO SET THE WEAPONS PROPERTIES. 104 boolsetProjectile(ClassID projectile);105 boolsetProjectile(const char* projectile);103 void setProjectile(ClassID projectile); 104 void setProjectile(const char* projectile); 106 105 /** @returns The projectile's classID */ 107 106 inline ClassID getProjectile() { return this->projectile; }; … … 112 111 void setEmissionPoint(const Vector& point); 113 112 /** @see void setEmissionPoint(const Vector& point); */ 114 inline void setEmissionPoint(float x, float y, float z) { this->setEmissionPoint(Vector(x, y,z)); };113 inline void setEmissionPoint(float x, float y, float z) { this->setEmissionPoint(Vector(x, y, z)); }; 115 114 /** @returns the absolute Position of the EmissionPoint */ 116 115 inline const Vector& getEmissionPoint() const { return this->emissionPoint.getAbsCoor(); };
Note: See TracChangeset
for help on using the changeset viewer.