public void AddDebugItem(string label, string message, DebugFlagType flagtype) { if (consoleVisible) { switch (flagtype) { case DebugFlagType.Normal: DebugItems.Insert(0, new DebugItem(label, message, flagtype)); break; case DebugFlagType.Odd: DebugItems.Insert(0, new DebugItem(label, message, flagtype)); break; case DebugFlagType.Important: DebugItems.Insert(0, new DebugItem(label, message, flagtype)); break; } } }
internal void ResetFlag() { this.DebugFlagType = Debug.DebugFlagType.Normal; }
public DebugItem(string label, string message, DebugFlagType flagtype) { DebugFlagType = flagtype; Message = message; Label = label; }