public RandomlyGeneratedStateSpace(IGenerationAlgorithm dungeonGeneration, int worldMin, int worldMax) { stateSpaceComponents = new StateSpaceComponents(); freeTiles = new List <Vector2>(); waterTiles = new List <Vector2>(); dungeonDimensions = dungeonGeneration.GenerateDungeon(ref dungeonGrid, worldMin, worldMax, stateSpaceComponents.random, freeTiles); dungeonSpriteFile = dungeonGeneration.GetDungeonSpritesheetFileName(); dungeonColorInfo = dungeonGeneration.GetColorInfo(); }
public RandomlyGeneratedStateSpace(IGenerationAlgorithm dungeonGeneration, int worldMin, int worldMax) { stateSpaceComponents = new StateSpaceComponents(); freeTiles = new List<Vector2>(); waterTiles = new List<Vector2>(); dungeonDimensions = dungeonGeneration.GenerateDungeon(ref dungeonGrid, worldMin, worldMax, stateSpaceComponents.random, freeTiles); dungeonSpriteFile = dungeonGeneration.GetDungeonSpritesheetFileName(); dungeonColorInfo = dungeonGeneration.GetColorInfo(); }
public RandomlyGeneratedStateSpace(IGenerationAlgorithm dungeonGeneration, int worldMin, int worldMax) { stateSpaceComponents = new StateSpaceComponents(); dungeonAlgorithm = dungeonGeneration; dungeonDimensions = dungeonGeneration.GenerateDungeon(ref dungeonGrid, worldMin, worldMax, random); }
public RandomlyGeneratedStateSpace(IGenerationAlgorithm dungeonGeneration, int worldMin, int worldMax) { stateSpaceComponents = new StateSpaceComponents(); dungeonAlgorithm = dungeonGeneration; dungeonDimensions = dungeonGeneration.GenerateDungeon(ref dungeonGrid, worldMin, worldMax, random); }