src/Player.hh
branchnew_graphics
changeset 412 721c60072091
parent 411 106aaf6eadfe
child 414 cede5463b845
--- a/src/Player.hh	Wed Jan 21 03:33:35 2009 +0200
+++ b/src/Player.hh	Wed Jan 21 23:07:22 2009 +0200
@@ -12,6 +12,7 @@
 #include "Input.hh"
 #include "Rope.hh"
 #include "Types.hh"
+
 #include "Graphics/Drawable.hh"
 
 #include <vector>
@@ -160,9 +161,16 @@
     /**
      * Draw this player
      */
-    virtual void draw (Display *display, PixelCoordinate camera);
+    virtual void draw (graphics::Display &display, PixelCoordinate camera);
+    
+    /**
+     * Returns statistics on the number of kills for this player
+     */
+    uint16_t getKills() { return kills; }
 
-    uint16_t getKills() { return kills; }
+    /**
+     * Returns statistics on the number of deaths for this player
+     */
     uint16_t getDeaths() { return deaths; }
 };
 
@@ -195,7 +203,7 @@
     /**
      * As Player, but also draws the current weapon name if displayWeapon
      */
-    virtual void draw (Display *display, bool displayWeapon, PixelCoordinate camera);
+    virtual void draw (graphics::Display &display, bool displayWeapon, PixelCoordinate camera);
 };
 
 /**