void drawStageSelector(StageSelector stageSelector)
    {
        Graphics graphics = startGraphics();

        //stageSelector.draw(graphics);
        graphics.drawImage(stageSelector.getImage(), stageSelector.getX(), stageSelector.getY(), frame);
        for (GameObject stageObjects : stageSelector.getStageSelectorObjects())
        {
            graphics.drawImage(stageObjects.getImage(), stageObjects.getX(), stageObjects.getY(), frame);
        }
        graphics.setColor(Color.black);
        graphics.setFont(new Font("sansserif", Font.PLAIN, 25));
        graphics.drawString(stageSelector.getStageName(), 300, 59);
        graphics.drawString(stageSelector.getStageName(), 300, 61);
        graphics.drawString(stageSelector.getStageName(), 299, 60);
        graphics.drawString(stageSelector.getStageName(), 301, 60);

        graphics.setColor(Color.white);
        graphics.setFont(new Font("sansserif", Font.PLAIN, 25));
        graphics.drawString(stageSelector.getStageName(), 300, 60);

        if (debugger)
        {
            for (Node node : stageSelector.getNodes())
            {
                graphics.setColor(Color.red);
                graphics.fillRect(node.getX() - 2, node.getY() - 2, 4, 4);
            }
        }

        endGraphics(graphics);
    }