private void CommandHandlerOnCommandReceived(CommandHandler.CommandType command, string[] args)
 {
     if (command == CommandHandler.CommandType.CalculationRequest)
     {
         Debug.SimulateSeed(args[0], args[1], true);
     }
 }
Esempio n. 2
0
        private static void CommandHandlerOnOnCommandReceived(CommandHandler.CommandType command, string[] args)
        {
            switch (command)
            {
            case CommandHandler.CommandType.ActionList:
                Console.WriteLine("Actions list : " + string.Join(Environment.NewLine, args));
                break;

            case CommandHandler.CommandType.BoardAfterActions:
                Console.WriteLine("BoardAfterActions : " + string.Join(Environment.NewLine, args));
                break;

            case CommandHandler.CommandType.BoardBeforeActions:
                Console.WriteLine("BoardBeforeActions : " + string.Join(Environment.NewLine, args));
                break;

            case CommandHandler.CommandType.Log:
                //     Console.WriteLine("Log : " + string.Join(Environment.NewLine, args));
                break;
            }
        }