コード例 #1
0
ファイル: LogOutputItem.cs プロジェクト: osmanium/Mjolnir.IDE
 public LogOutputItem(string message, OutputCategory category, OutputPriority priority, string outputSource = null)
 {
     this.Message      = message;
     this.Category     = category;
     this.Priority     = priority;
     this.OutputSource = outputSource;
 }
コード例 #2
0
 public void printDebugMessage(string msg, OutputPriority prio)
 {
     if (printPriority >= prio)
     {
         Console.WriteLine(msg);
     }
 }
コード例 #3
0
 public void visualizeSimulation()
 {
     stopFlag      = true;
     printPriority = OutputPriority.NONE;
     simulateResultNoCopy();
 }
コード例 #4
0
 public HearthstoneBoard turnByTurnSimulation()
 {
     turnbyturn    = true;
     printPriority = OutputPriority.NONE;
     return(simulateResult());
 }
コード例 #5
0
 public String ConvertFrom(OutputPriority value)
 {
     return(value.ToString());
 }