Maescool/Catacomb-Snatch — Issue #840: Replacable graphics engine
Author: danielduner
Created: 2012-03-07 17:13:41+00:00
State: open

I think we should try to make the graphics engine replaceable in some way.

This has already been done for sound (using an interface), which allows us to have a place-holder sound player that can be used on computers without sound cards.

**Possible uses for replacing graphics:**

* When using unit tests, perhaps we want a dummy-graphics module that doesn't actually draw anything
* During AI-training we want to avoid drawing anything, to make the game run as fast as possible (in combination with removing the ticks-per-second limit)
* When porting the game to some other Java platform (for example GWT or Android) we will want replace the graphics and sound engines (but keep the rest of the logic)