public BiomeMapForm(Level level) { _level = level; _biomeUtils = new BiomeUtils(); _biomeUtils.PrecomputeBiomeColors(); InitializeComponent(); Closing += (sender, args) => { _cancelProgress = true; }; }
public TextureLayerRenderer(TextureRendererConfig config) { if (config.ResourcePack.Equals("default", System.StringComparison.InvariantCultureIgnoreCase)) { ResourcePack = new Texture.ResourcePack(); } else { ResourcePack = new Texture.ResourcePack(config.ResourcePack); } BiomeUtils = new BiomeUtils(); BiomeUtils.PrecomputeBiomeColors(); }
public BiomeMapControl(Level level) : base(null) { Level = level; _biomeUtils = new BiomeUtils(); _biomeUtils.PrecomputeBiomeColors(); }
public DefaultLayerRenderer() { BiomeUtils = new BiomeUtils(); BiomeUtils.PrecomputeBiomeColors(); }
public BiomeMapComponent() { _biomeUtils = new BiomeUtils(); _biomeUtils.PrecomputeBiomeColors(); }