public ContinentLinesPainter(Graphics g, DisplaySettings settings, VillageDimensions dimensions, Rectangle gameRectangle, Rectangle mapSize) { _settings = settings; _g = g; _visibleGameRectangle = gameRectangle; _toPaint = mapSize; _villageWidthSpacing = dimensions.SizeWithSpacing.Width; _villageHeightSpacing = dimensions.SizeWithSpacing.Height; }
private void SetVillageDimensions() { Dimensions = CalculateVillageDimensions(); }