@Override
        public void actionPerformed(ActionEvent e) {
            if (mode == eBattleFieldMode.Playable) {
                game.sendAttackRequest(positionX, positionY);
            } else if (mode == eBattleFieldMode.Design) {
                game.getShipToPlace().setStartPoint(new Coordinates(positionX, positionY));
                game.getShipToPlace().setOrientation(game.getSelectedOrientation());
                if(game.placeCurrentShip())
                {
                    game.updateLayout();
                }   
            } else {
                throw new UnsupportedOperationException("Field mustn't be enabled, worng mode");
            }
        }