4950/ShittyPrototype — pull request #16 by gcoetz (2013-10-27 07:28:40+00:00)
Title: Player movement now in ECS.  Camera and map both back up and running.  E...

So what we have is the player moving system which just looks if there’s keyboard input and moves the player accordingly.
The camera updating system looks for the player entity and updates the renderer’s camera to the right position based on boundaries and the player’s location.
The MapBoundrySystem is there just to make the player (and monsters, in theory) not walk off the map. I think this should turn into or be replaced by a physics system that just checks for impassable tiles on the map, and we shouldn’t have to check the map bounds for entities when we’re at that point.

The part of the design I wasn’t too sure about was attaching the map to the renderer. I’ve been trying to keep physics and rendering separate the map is needed for both.

Ps. Sorry this coming in so late… I thought I would have time to do the pull-request last night but it never happened >.<