public void Draw(Graphics gfx, DrawingFlags flags) { DrawBackground(gfx); if (flags.DrawSheepSight) { DrawSheepSight(gfx); } if (flags.DrawSheepPath) { DrawPath(gfx, sheep, sheepPathColor); } if (flags.DrawShepherdsPath) { DrawPath(gfx, shepherds, shepherdPathColor); } if (flags.DrawShepherdsSight) { DrawShepherdsSight(gfx); } DrawAgents(gfx, sheep, sheepColor); DrawAgents(gfx, shepherds, shepherdColor); if (flags.DrawCenterOfSheep) { DrawCentreOfSheep(gfx); } }
public void Draw(Graphics gfx, DrawingFlags flags) { drawing.Draw(gfx, flags); }