LeedsJs/jackdaw — pull request #35 by sfoster (2012-02-29 14:48:25+00:00)
Title: Refactor component registry, adding keyDirection to keyboardControls, add sprite to player in level_002 

* lib/components (component registry) is gone, its a set of static methods on the Component class
* the entity has a similar registry (.id on the entity instance)
* keyboardControls now also set a keyDirection on the entity (degrees, in 45deg. increments)
* the player in level_002 now uses the sprite from test_Sprites.html