src/proto2/Physics.hh
changeset 153 73402d5b778e
parent 150 5e032b540af3
child 161 ea2f295c279f
--- a/src/proto2/Physics.hh	Sun Nov 30 19:20:11 2008 +0000
+++ b/src/proto2/Physics.hh	Sun Nov 30 23:00:26 2008 +0000
@@ -22,16 +22,6 @@
 typedef uint16_t TimeMS;
 typedef Vector Force;
 
-// TODO: Random definitions. Should these be somewhere else?
-//enum TerrainType {EMPTY, DIRT, ROCK};
-
-// Yeah?!?!?! Atleast this could be documented. Contains vectors
-// presenting all the 8 directions in a square grid?
-//const Vector DIRECTIONS[] = { Vector(0,-1), Vector(1,-1), Vector(1,0), 
-//                            Vector(1,1), Vector(0,1), Vector(-1,1), 
-//                            Vector(-1,0), Vector(-1,-1) };
-
-
 /**
  * PhysicsWorld class. PhysicsWorld contains PhysicsObjects that are
  * simulated in the PhysicsWorld.
@@ -302,6 +292,13 @@
      * Update object in physics simulation.
      */
     void tick();
+
+    /**
+     * Draw object
+     *
+     * @param gc CL_GraphicContext
+     */
+    void draw(CL_GraphicContext *gc);
 };
 
 // TODO: This could probably be moved somewhere else or removed