Mechalon/Caffeine-Junkies-Game — pull request #14 by ffleck (2012-04-25 19:31:24+00:00)
Title: Simple Level Complete!

Another pretty large commit. Had an error and didn't want to submit with error last night.

AnimationChanging>AnimationSystem:
Renamed to a more suitable and descriptive name.

Camera:
Cut out class that were no longer needed.

Level:
More detailed than I really want to type out. Works with player and now handles collision.

Player:
Again more detailed than I want to type. Works with level and handles collision.

RectangleExtensions:
Awesome class I came across while looking around at collision detection online. Finds how much two rectangles collide between two frames and gives back a vector that you can use to reposition the player on a collide.

Tile:
Added a TileCollision enumeration that helps find how the player collides with tiles.

TileMap:
Not sure if anything was changed here. Messed around with it a lot while searching for that error.

MapCell/CheckPoint:
Probably wont be used. Dumbed the tile layout down to just one tile per cell and made TileMaps a list of Tile instead a list of MapCell. CheckPoint may be reimplemented later.