public void Draw(DrawOrclear dr = DrawOrclear.draw) { ForegroundColor = dr == DrawOrclear.draw ? Color : BackgroundColor; SetCursorPosition(X, Y); Console.WriteLine(Icon); ResetColor(); }
public void Draw(DrawOrclear dr = DrawOrclear.draw) { A1.Draw(dr); A2.Draw(dr); }