A C# XNA 2D game engine