Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 23, 2005, 11:50:51 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: small cleanup

File:
1 edited

Legend:

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

    r4932 r4948  
    2424#include "vector.h"
    2525
    26 class Vector;
    2726class ParticleEmitter;
    2827
     
    3837
    3938
     39    void setEnergies(float energyMin, float energyMax);
     40    /** @returns the minimal charched energy */
     41    inline float getEnergyMin() { return this->energyMin; };
     42    /** @returns the maximal charched energy */
     43    inline float getEnergyMax() { return this->energyMax; };
     44    /** @returns if the Projectile can be charged */
     45    inline bool isChageable() { return this->bChargeable; };
     46
    4047
    4148
     
    5057    float                 energyMin;
    5158    float                 energyMax;
    52 
     59    bool                  bChargeable;               //!< if the Projectile is Charegeable
    5360
    5461    float                 lifeCycle;                 //!< The percentage of the Lifetime done [0-1]
    5562    float                 lifeSpan;                  //!< The entire lifespan of the Shoot. in seconds
    5663
    57     Vector                flightDirection;           //!< direction in which the shoot flighs
     64    Vector                flightDirection;           //!< DOF direction in which the shoot flighs
    5865
    5966    Vector                velocity;                  //!< velocity of the projectile.
Note: See TracChangeset for help on using the changeset viewer.