diff options
Diffstat (limited to 'src/game/base/projectile.h')
-rw-r--r-- | src/game/base/projectile.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/game/base/projectile.h b/src/game/base/projectile.h index f9cda64..2513901 100644 --- a/src/game/base/projectile.h +++ b/src/game/base/projectile.h @@ -1,5 +1,5 @@ /* - base/spacemine.h + base/projectile.h This file is part of the Osirion project and is distributed under the terms and conditions of the GNU General Public License version 2 */ @@ -12,11 +12,11 @@ namespace game { -class Projectile : public core::EntityDynamic +class EntityProjectile : public core::EntityDynamic { public: - Projectile(unsigned long lifespan); - virtual ~Projectile(); + EntityProjectile(unsigned long lifespan); + virtual ~EntityProjectile(); virtual void upkeep(const unsigned long timestamp); @@ -58,6 +58,11 @@ public: /* --- mutators -------------------------------------------- */ /** + * @brief reset physics state + * */ + virtual void reset(); + + /** * @brief set the amount of damage this projectile inflicts * */ inline void set_damage(const float damage) |