// TODO take in account elevation of surrounding tiles public override void generate() { Debug.Log("generating elevation"); LocalGenConfig config = GenerationState.get().localGenConfig; container = GenerationState.get().localGenContainer; IntVector2 location = config.location; bounds.set(0, 0, config.areaSize - 1, config.areaSize - 1); // GenerationState.get().world.worldMap.biome; createElevation(); modifyElevation(8, 20); logElevation(); }
protected LocalGenerator() { container = GenerationState.get().localGenContainer; config = GenerationState.get().localGenConfig; bounds.set(0, 0, config.areaSize - 1, config.areaSize - 1); }