示例#1
0
        static void Main(string[] args)
        {
            InputMarshaller marshaller = new InputMarshaller();

            marshaller.loadInterceptor();
            CommandConsole commandConsole = new CommandConsole();

            while (true)
            {
                commandConsole.readFromConsole();
                // marshaller.executeMove(MoveFactory.S_MP());
                //    System.Threading.Thread.Sleep(500);
                // marshaller.executeMove(MoveFactory.C_MK());
            }
        }
示例#2
0
 public CommandConsole()
 {
     this.marshaller = new InputMarshaller();
     this.marshaller.loadInterceptor();
     this.log = LogFactory.getInstance().createLog();
 }