public void sendAttackRequest(int x, int y) {
        //set displaying
        if (gui != null) {
            gui.updateState(eBattleFieldMode.Displaying);
        }
        Message<Coordinates> attack = new Message<>();
        attack.setMessageType(eMessageType.attack);
        attack.setDataContainer(new Coordinates(x, y));
        lastAttack = attack.getDataContainer();
        oponent.sendMessage(attack);

    }