public Boolean Updated(PaintType Type, ConsoleColor ShouldBeColor) { if (Type.Equals(PaintType.ForeColor)) { return CurrentForeColor.CompareTo(ShouldBeColor) > 0; } else { return CurrentBackColor.CompareTo(ShouldBeColor) > 0; } }
public void PaintScreen(ConsoleColor Color, PaintType Type) { lock (PaintLogger) { if (Type.Equals(PaintType.ForeColor)) { PaintLogger.UpdateForePaint(Color); } else { PaintLogger.UpdateBackPaint(Color); } } }