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()); } }
public CommandConsole() { this.marshaller = new InputMarshaller(); this.marshaller.loadInterceptor(); this.log = LogFactory.getInstance().createLog(); }