Major refactoring happening here.
Major refactoring happening here.
Finished this version, but, not happy with it really.
There is no logical way that systems can work on a group of the components that would encompass an entity, so I think i'll need to reintroduce an actual Entity object... Or a "component set".
Merge pull request #1 from grantus/refactor

Merging in the new system that doesn't rely on class types to store components... I'm not 100% happy with it though, as systems have no way of working on "grouped" component sets (i.e. it will just have random components thrown at it in no particular order).