src/Types.hh
changeset 300 417183866f35
parent 296 4d3ebaa29430
child 311 440763821484
--- a/src/Types.hh	Mon Dec 08 17:39:01 2008 +0000
+++ b/src/Types.hh	Mon Dec 08 18:12:43 2008 +0000
@@ -5,8 +5,15 @@
  * Define various types
  */
 
+#include "Vector.hh"
+
 #include <stdint.h>
 
+/* 
+ * Standard vector used for Physics stuff
+ */
+typedef _Vector<float> Vector;
+
 /**
  * A player's health is measured in...
  */
@@ -22,5 +29,14 @@
  */
 typedef _Vector<PixelDimension> PixelCoordinate;
 
+/**
+ * A time interval, measured in real milliseconds
+ */
+typedef unsigned long TimeMS;
+
+/**
+ * Abstract tick count, defined as a number of Timer::interval's against real time
+ */
+typedef uint32_t TickCount;
 
 #endif