public GameEnvironmentPopulator(GameEnvironment world) { World = world; // TODO: Should all these creators be consistent with their constructor parameters? TileCreator = new TileCreator (world); PersonCreator = new PersonCreator (world.Context.Settings); PlantCreator = new PlantCreator (world.Context.Settings); }
public GameEnvironmentPopulator(GameEnvironment world) { World = world; // TODO: Should all these creators be consistent with their constructor parameters? TileCreator = new TileCreator(world); PersonCreator = new PersonCreator(world.Context.Settings); PlantCreator = new PlantCreator(world.Context.Settings); }
public void AddTilesFromSettings() { var tiles = TileCreator.Create(World.Context.Settings.DefaultTileQuantity); World.Tiles = tiles; }