Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 8, 2006, 12:52:23 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: projectile inherits Energies from WorldEntity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/projectile.h

    r6078 r6431  
    2323
    2424
    25     void setEnergies(float energyMin, float energyMax);
     25    void setMinEnergy(float energyMin);
    2626    /** @returns the minimal charched energy */
    27     inline float getEnergyMin() { return this->energyMin; };
    28     /** @returns the maximal charched energy */
    29     inline float getEnergyMax() { return this->energyMax; };
     27    inline float getMinEnergy() { return this->energyMin; };
    3028    /** @returns if the Projectile can be charged */
    3129    inline bool isChageable() { return this->bChargeable; };
     
    5048    // energy
    5149    float                 energyMin;                 //!< The minimal Energy a Projectile needs to be emitted.
    52     float                 energyMax;                 //!< The maximal Energy a Projectile can take, before being emitted.
    5350    bool                  bChargeable;               //!< if the Projectile is Charegeable
    5451
Note: See TracChangeset for help on using the changeset viewer.