Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 7, 2005, 10:32:23 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: many loadParams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon.h

    r4959 r4972  
    7777    // INITIALISATION //
    7878    Weapon (WeaponManager* weaponManager = NULL);
    79     Weapon(const TiXmlElement* root);
    8079    virtual ~Weapon ();
    8180
     
    8988    ///////////////////
    9089
    91     /** @param weaponManager sets the WeaponManager for this Weapon (NULL if free))*/
     90    /** @param weaponManager sets the WeaponManager for this Weapon (NULL if free)) */
    9291    inline void setWeaponManager(WeaponManager* weaponManager) { this->weaponManager = weaponManager; };
    9392    /** @returns the WeaponManager of this Weapon (or NULL if it is free) */
     
    102101
    103102    // FUNCTIONS TO SET THE WEAPONS PROPERTIES.
    104     bool setProjectile(ClassID projectile);
    105     bool setProjectile(const char* projectile);
     103    void setProjectile(ClassID projectile);
     104    void setProjectile(const char* projectile);
    106105    /** @returns The projectile's classID */
    107106    inline ClassID getProjectile() { return this->projectile; };
     
    112111    void setEmissionPoint(const Vector& point);
    113112    /** @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)); };
    115114    /** @returns the absolute Position of the EmissionPoint */
    116115    inline const Vector& getEmissionPoint() const { return this->emissionPoint.getAbsCoor(); };
Note: See TracChangeset for help on using the changeset viewer.