AttackSlug/SnoBros2 — pull request #18 by cjab (2012-11-22 03:12:37+00:00)
Title: Json entities

Here you go, the format of the entities.json file should be pretty self-explanatory but let me know if you have any questions.

You'll probably have to change the factory a bit if you're going to be moving the components to a dictionary. Shouldn't be too big of a change though, in fact it'll probably simplify things.

I also have another commit here that changes the check on selection to something that is more accurate for a circle. You just get a slightly larger area from which you can select than actually appears visually if you treat it as a rectangle. Either way should work though so if you would rather do it with a rectangle because it's more general case just drop that commit, no worries.