public void move(int x , int y)
    {
        SnakeSection head = new SnakeSection(sections.get(0).getX()+x, sections.get(0).getY() + y);
        checkBorders(  head );
        checkBody(  head );

        if (isAlive)
        {getSections().add(0, head);
            getSections().remove(sections.size() - 1);}

        if (head.getX() == Room.game.getMouse().getX() && head.getY() == Room.game.getMouse().getY())
        {
            sections.add(0, head);
            Room.game.eatMouse();
        }


    }