예제 #1
0
        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;
                }
            }
        }
예제 #2
0
 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;
         }
     }
 }
예제 #3
0
 internal void ResetFlag()
 {
     this.DebugFlagType = Debug.DebugFlagType.Normal;
 }
예제 #4
0
 public DebugItem(string label, string message, DebugFlagType flagtype)
 {
     DebugFlagType = flagtype;
     Message       = message;
     Label         = label;
 }
예제 #5
0
파일: DebugItem.cs 프로젝트: kbo4sho/Swarm
 internal void ResetFlag()
 {
     this.DebugFlagType = Debug.DebugFlagType.Normal;
 }
예제 #6
0
파일: DebugItem.cs 프로젝트: kbo4sho/Swarm
 public DebugItem(string label, string message, DebugFlagType flagtype)
 {
     DebugFlagType = flagtype;
     Message = message;
     Label = label;
 }