private LabyrinthEngine() { this.factory = new LabyrinthFactory(); this.playfield = this.factory.CreatePlayfield(); this.player = this.factory.CreatePlayer(); this.dialogs = this.factory.CreateDialogs(); this.scoreboard = this.factory.CreateScoreboard(); this.save = new SaveSystem(); }
public TestObjectsFactory() { this.factory = new LabyrinthFactory(); this.playfield = this.factory.CreatePlayfield(); this.player = this.factory.CreatePlayer(); this.dialogs = this.factory.CreateDialogs(); this.scoreboard = this.factory.CreateScoreboard(); this.save = new SaveSystem(); }