Converted the Spatial Manager to a function in preperation for game states
Converted Entity Manager to function in preperation for game states
Added a skeleton of a state machine
More work on states
Finalized states and pass them to entities so they can access the Entity and Spatial managers inside them.
Moved Engine stuff to the Engine folder
Prevent creep from going the same direction it was going when it changes direction
Changed how Serialization works and added a map editor (WIP cant save anything atm)
Added serialization on sprites and started on updating the map parser
Fix: BodyCircle are now Deserialized right.
Fix: flame sprite in template is now right
Even more work on serialization and EditorMode works perfectly, can even load the map you made and play it.
Editor mode fully operational
Some TODOs and added manual.