public void render(Graphics2D g2D) {
        MasterPanel mainScreen = (MasterPanel) parent;

        // Background graphic
        g2D.setBackground(new Color(0, 0, 0));
        g2D.clearRect(0, 0, 340, 288);

        testFloor.render(g2D);

        hudPanel.render(g2D);

        hasGoldSprite.render(g2D);
        hasFoodSprite.render(g2D);
        hasArrowSprite.render(g2D);

        for (int i = 0; i <= 11; i++) {
            for (int j = 0; j <= 11; j++) {
                Point point = new Point(j, i);
                caveNodeSprites.get(point).render(g2D);
                wallSprites.get(point).render(g2D);
            }
        }

        wumpusSprite.render(g2D);
        supmuwSprite.render(g2D);
        agentSprite.render(g2D);

        // FXSprites

        for (FXSprite fxs : breezeSprites)
            fxs.render(g2D);
        for (FXSprite fxs : stenchSprites)
            fxs.render(g2D);
        for (FXSprite fxs : mooSprites)
            fxs.render(g2D);

        glitterSprite.render(g2D);

        entranceSprite.render(g2D);

        // The Darkness

        Hashtable<Point, CaveNode> grid = wumplusEnvironment.grid;
        if (mainScreen.gameMode == 'H')
            g2D.setColor(new Color(0, 0, 0, 255));
        else
            g2D.setColor(new Color(0, 0, 0, 128));

        for (int i = 0; i <= 11; i++) {
            for (int j = 0; j <= 11; j++) {
                Point point = new Point(j, i);
                CaveNode curNode = grid.get(point);

                if (!curNode.wasVisited) {
                    Point coords = gridToPanelCoords(point.x, point.y);
                    g2D.drawRect(coords.x, coords.y, 24, 24);
                    g2D.fillRect(coords.x, coords.y, 24, 24);
                }

            }
        }


        // Score
        g2D.setColor(new Color(255, 255, 255));
        g2D.drawString("score: " + score, 72, 10);

        // endgame message

        winSprite.render(g2D);
        loseSprite.render(g2D);
        dieSprite.render(g2D);

        // end game message

        //	if(victoryCondition == -1)
    }