src/Projectile.cc
branchnew_graphics
changeset 412 721c60072091
parent 408 e6cfc44266af
child 417 c503e0c6a740
--- a/src/Projectile.cc	Wed Jan 21 03:33:35 2009 +0200
+++ b/src/Projectile.cc	Wed Jan 21 23:07:22 2009 +0200
@@ -1,5 +1,4 @@
 #include "Projectile.hh"
-#include "Graphics.hh"
 #include "Timer.hh"
 
    
@@ -75,8 +74,8 @@
     PhysicsObject::tick(dt);
 }
 
-void Projectile::draw(Graphics *g, PixelCoordinate camera) const {
-    CL_GraphicContext *gc = g->get_gc();
+void Projectile::draw(graphics::Display &display, PixelCoordinate camera) const {
+    CL_GraphicContext *gc = display.get_gc();
 
     if (visible) {
         PixelCoordinate pos = getCoordinate() - camera;