zombiepaladin/DungeonCrawler — pull request #15 by matthewmchaney (2012-10-29 18:19:02+00:00)
Title: Collisions update

Added a CollisionsComponent which has collideables. This way we can represent rectangles and circles for hitboxes simultaneously. There's a cost of having duplicate data (circle bounds share the center/radius of the position component) that is complicated by having components do little to no logic. But oh well, it should be okay.

RectangleBounds have their position in the upper left, so watch out for that.

There still needs to be an implementation for doors/walls that are loaded in through the level. This is just the basic structure for the collision method.