src/Projectile.hh
branchnew_graphics
changeset 417 c503e0c6a740
parent 412 721c60072091
child 434 a8ba81432ddd
--- a/src/Projectile.hh	Thu Jan 22 00:28:26 2009 +0200
+++ b/src/Projectile.hh	Thu Jan 22 01:53:05 2009 +0200
@@ -48,11 +48,6 @@
     virtual ~Projectile (void);
     
     /**
-     * Draw
-     */
-    virtual void draw (graphics::Display &display, PixelCoordinate camera) const;
-
-    /**
      * Get damage inflicted by this projectile.
      *
      * @return Damage inflicted by projectile.
@@ -94,6 +89,18 @@
      * If we have expired, call onDestory and removeGround
      */
     virtual void tick (TimeMS dt);
+
+public:
+
+#if GRAPHICS_ENABLED    
+    /**
+     * Draw
+     */
+    virtual void draw (graphics::Display &display, PixelCoordinate camera) const;
+
+#endif
+
+
 };
  
 #endif