private void GenerateMap_Click(object sender, RoutedEventArgs e)
 {
     if (!_simulation.IsSimulationRunning || !_timer.IsEnabled)
     {
         int numberOfClans = (int)sldNumberOfClans.Value;
         int mapScale      = (int)sldMapScale.Value;
         _simulation.GenerateMap(100 * mapScale, 100 * mapScale, numberOfClans);
         _renderer.LinkMapContainer(_simulation.Map, numberOfClans);
         RenderFrame();
     }
 }