src/Projectile.hh
branchnew_graphics
changeset 412 721c60072091
parent 309 05a39422c81e
child 417 c503e0c6a740
--- a/src/Projectile.hh	Wed Jan 21 03:33:35 2009 +0200
+++ b/src/Projectile.hh	Wed Jan 21 23:07:22 2009 +0200
@@ -8,7 +8,8 @@
 #include "PhysicsObject.hh"
 #include "Timer.hh"
 #include "Types.hh"
-#include "GraphicsPointer.hh"
+
+#include "Graphics/Drawable.hh"
 
 /**
  * A projectile is a flying PhysicsObject, created by firing a player's weapon. It has an initial velocity, is
@@ -49,7 +50,7 @@
     /**
      * Draw
      */
-    virtual void draw (Graphics *g, PixelCoordinate camera) const;
+    virtual void draw (graphics::Display &display, PixelCoordinate camera) const;
 
     /**
      * Get damage inflicted by this projectile.