src/Player.hh
changeset 308 60f4b55d5713
parent 306 4e774439e2c6
child 312 10743f190aab
--- a/src/Player.hh	Mon Dec 08 20:33:40 2008 +0000
+++ b/src/Player.hh	Mon Dec 08 20:57:16 2008 +0000
@@ -6,6 +6,7 @@
 class RemotePlayer;
 
 #include "Weapon.hh"
+#include "Projectile.hh"
 #include "GameState.hh"
 #include "PhysicsObject.hh"
 #include "Input.hh"
@@ -132,7 +133,12 @@
      *
      * XXX: should this take the Projectile instead or somesuch?
      */
-    void takeDamage (Health damage);
+    void takeDamage (Projectile *source);
+
+    /**
+     * Increment player killcounter by one.
+     */
+    void addKill ();
 
     /*
      * Drawing requires the skin texture, which is loaded on-demand when draw is called