예제 #1
0
        /// <summary>
        /// Sets rng and loads tilesheet
        /// </summary>
        private void PrepareGeneration()
        {
            if (_settings.Seed != null)
            {
                RNG.SetSeed(_settings.Seed.Value);
            }

            _sheet = YamlSerializer.Deserialize <TileSheet>(_settings.TileSheet);
            _sheet.Load();
        }