Exemple #1
0
 protected virtual void renderMiniMap(Surface s)
 {
     if (_mapSurface == null)
     {
         _mapSurface = new Surface(_miniMapRect.Size);
         _map.RenderMiniMap(_mapSurface, new Rectangle(0, 0, _miniMapRect.Width, _miniMapRect.Height));
     }
     s.Blit(_mapSurface, _miniMapRect.Location);
     _map.RenderMiniMapViewBox(s, _miniMapRect);
 }