public void Draw(Graphics g) { g.SmoothingMode = SmoothingMode.HighQuality; Bridges.ForEach(e => e.Draw(g)); Cities.ForEach(e => e.Draw(g)); Players.ForEach(e => e.Draw(g)); }
public void RemoveRegion(string id) { Regions?.RemoveAll(_ => _.ID == id); Bridges?.ForEach(_ => _.Links?.RemoveAll(r => r == id)); Bridges?.RemoveAll(_ => _.Links == null || _.Links.Count == 0); }