Example #1
0
 public LogOutputItem(string message, OutputCategory category, OutputPriority priority, string outputSource = null)
 {
     this.Message      = message;
     this.Category     = category;
     this.Priority     = priority;
     this.OutputSource = outputSource;
 }
 public void printDebugMessage(string msg, OutputPriority prio)
 {
     if (printPriority >= prio)
     {
         Console.WriteLine(msg);
     }
 }
 public void visualizeSimulation()
 {
     stopFlag      = true;
     printPriority = OutputPriority.NONE;
     simulateResultNoCopy();
 }
 public HearthstoneBoard turnByTurnSimulation()
 {
     turnbyturn    = true;
     printPriority = OutputPriority.NONE;
     return(simulateResult());
 }
Example #5
0
 public String ConvertFrom(OutputPriority value)
 {
     return(value.ToString());
 }