Question about separating game core engine from game graphics engine...
- by Conrad Clark
Suppose I have a SquareObject class, which implements IDrawable, an interface which contains the method void Draw(). I want to separate drawing logic itself from the game core engine.
My main idea is to create a static class which is responsible to dispatch actions to the graphic engine.
public static class DrawDispatcher<T>
{
private…