Example #1
0
 private void MapViewChange(int[] newCenterCoords)
 {
     if (map != null)
     {
         map.Dispose();
     }
     ReturnCoordsAtMapViewChange(newCenterCoords);
     map      = Draw.MapPart(Game.GetActiveCiv.Id, mapStartXY[0], mapStartXY[1], mapDrawSq[0], mapDrawSq[1], Game.Options.FlatEarth, Map.MapRevealed);
     animType = AnimationType.UpdateMap;
     StartAnimation(animType);
 }