#include <string>
-class DisplayManager;
+class DrawingContext;
/**
* Base class for all game objects. This contains functions for:
*/
virtual void action(float elapsed_time) = 0;
+ /** The GameObject should draw itself onto the provided DrawingContext if this
+ * function is called.
+ */
+ virtual void draw(DrawingContext& context) = 0;
+
/** returns true if the object is not scheduled to be removed yet */
bool is_valid() const
{ return !wants_to_die; }