Refactored Game following the footprints of Socc

such Singleton, very software techniques, much patterns
This commit is contained in:
Bokros Bálint
2016-05-13 13:56:16 +02:00
parent ccff798960
commit 3cd196df78
5 changed files with 19 additions and 29 deletions

View File

@ -17,8 +17,10 @@ public class Game {
private FlowOfTime flowoftime;
private Display display;
public static Game instance = new Game();
public Game() {
private Game() {
dungeon = new Dungeon();
random = new Random();
flowoftime = new FlowOfTime();