stravid/slotcars — pull request #116 by DominikGuzei (2012-03-29 13:06:26+00:00)
Title: Chore/introduce closed factories

Adds closed factory (see [Factories Wiki Page](https://github.com/stravid/slotcars/wiki/Factories) and changes screen factory to be part of the game! Lets all screens register themselves at the factory and thus removes a lot of dependencies from the screen factory. Adding a new screen will just require changes in the new screen and the slotcars application code.

The ```ScreenFactory``` extends ```Factory``` and can be accessed in the code with the static ```ScreenFactory.get```method which returns the singleton instance.