if ( this.isIgnoringEvents() ) { return; }
    public void keyPressed(KeyEvent ev) {        if (ev.getKeyCode() == KeyEvent.VK_ESCAPE) {            clearattacks();        } else if (ev.getKeyCode() == KeyEvent.VK_ENTER && ev.isControlDown()) {            if (client.isMyTurn()) {                //            }        }    }