--- 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