private Move TranslateCommand(String command) { Move result = null; switch (command.Trim()) { case Moves.C_MP: result = MoveFactory.C_MP(); // this.log.Write(LogLevel.TRACE, LogType.CONSOLE, "Crouching MP"); // this.marshaller.executeMove(MoveFactory.C_MP()); break; case Moves.C_HP: result = MoveFactory.C_HP(); // this.log.Write(LogLevel.TRACE, LogType.CONSOLE, "Crouching HP"); // this.marshaller.executeMove(MoveFactory.C_HP()); break; case Moves.C_MK: result = MoveFactory.C_MK(); break; case Moves.S_MP: result = MoveFactory.S_MP(); break; } return(result); }