Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 21, 2005, 5:33:20 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some smaller fixes, to make Weapon more local

File:
1 edited

Legend:

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

    r4890 r4927  
    3434    virtual ~Projectile ();
    3535
    36     void setFlightDirection(Quaternion flightDirection);
     36    void setFlightDirection(const Quaternion& flightDirection);
    3737    void setVelocity(const Vector &velocity);
    3838    void setLifeSpan(float lifeSpan);
     
    5454
    5555    float                 lifeCycle;                 //!< The percentage of the Lifetime done [0-1]
    56     float                 lifeSpan;                  //!< The entire lifespan of the Shoot.
     56    float                 lifeSpan;                  //!< The entire lifespan of the Shoot. in seconds
    5757
    5858    Vector                flightDirection;           //!< direction in which the shoot flighs
Note: See TracChangeset for help on using the changeset viewer.