Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 2, 2005, 1:18:44 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: reimplemented the shoot speed function

File:
1 edited

Legend:

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

    r3710 r4464  
    2222
    2323#include "world_entity.h"
     24#include "vector.h"
    2425
    2526class Vector;
     
    3637  void setFlightDirection(Quaternion flightDirection);
    3738  void setSpeed(float speed);
     39  void setVelocity(const Vector &velocity);
    3840  void setTTL(float ttl);
    3941
     
    5254  Weapon* weapon;                      //!< weapon the shoot belongs to
    5355 
     56  Vector velocity;                     //!< velocity of the projectile
     57  Vector offsetVel;                    //!< offset velocity TEMP
    5458};
    5559
Note: See TracChangeset for help on using the changeset viewer.