public Launcher(ZorkService zorkService) { this.zorkService = zorkService; this.zorkService.ObjectTypeServices.generateObject(); this.zorkService.WeaponServices.generateObject(); }
public Game(ZorkService zorkService, int gameId) { this.zorkService = zorkService; this.gameId = gameId; Console.Clear(); getObjectTypes(); getWeapons(); getPlayer(); getMap(); // If monster alive in game load the monster this.monsterCurrent = this.zorkService.MonsterServices.Get(gameId); if (this.monsterCurrent.HP > 0) { fight(); } gameCell(); }
public SetupGame(ZorkService zorkService) { this.zorkService = zorkService; generatePlayer(); }