avandeursen/jpacman-framework — pull request #12 by MrHug (2013-02-26 10:29:10+00:00)
Title: V5.6 snapshot

We have taken a look at issue #11 and it seems to be fixed now.
We've changed the initialize function into two seperate functions:
- initialize, which creates the game
- createUI, which creates the UI (this function already existed, but is now public)

In between those two calls, or at least before createUI, you can call withGhostController. This is not possible after createUI, because of changes that can not be undone (things like the PacmanInteraction class that is made and attached). It is advisable to call initialize first though, because you need a game instance for the creation of your randomghostmover.

We've also provided a convenience function that you can call to create a "normal game".

In addition we added some tests to test this new functionality.

However when editing this, something went wrong with the identation. So all indentation is now tab-based, which unfortunately means that it looks as if the whole file has changed...
We apologize for that, but are not sure how to revert this, nor are we sure whether one would even want to revert this, as we think tab-based indentation is to be preferred...