@Override
    public void mousePressed(MouseEvent e) {
        JButton pressedButton = (JButton) e.getSource();
        System.out.println("Click");
        if(pressedButton == newGame) gameStart = true;
        else if(pressedButton == editor) editorStart = true;
        else if(pressedButton == quit) close = true;
    }