public Message(String text, MessageColor color) { MessageText = text; ForeColor = color.ForeColor; BackColor = color.BackColor; }
public void SendMessage(String text, MessageColor color) { if (color != Message.MESSAGE_DEBUG) { log.Add(new Message(text, color)); return; } System.Console.WriteLine(text); }