public void renderInventory(Graphics g) {
        g.setColor(Color.black);
        g.fillRect(inv_window_start, 0, 226, 600);
        
        g.setColor(Color.red);
        g.fillArc(inv_window_start, 0, 226, 140, 0, 360);
        
        //create armor inventory 
        int next = 0;
        for(int y = 0; y < arm_height; y++) {
            for (int x = 0; x < arm_width; x++) {
                if(next < 10) {
                    if(positions[next].x == x && positions[next].y == y) {
                        g.setColor(Color.black);
                        g.fillRect(x * size + inv_window_start, y * size + armor_start, size, size);
                        g.setColor(Color.green);
                        g.drawRect(x * size + inv_window_start, y * size + armor_start, size, size);
                        if(game.player.getInventory().getEquip(next) != null) {
                        	g.drawImage(game.player.getInventory().getEquip(next).getSprite().getImage(), x * size + inv_window_start, y * size + armor_start, size, size, null);
                        }
                        next++;
                    }
                }
            }
        }
        
        //create player inventory
        for(int y = 0; y < inv_height; y++) {
            for (int x = 0; x < inv_width; x++) {
                g.setColor(Color.black);
                g.fillRect(x * size + inv_window_start, y * size + inventory_start, size, size);
                g.setColor(Color.yellow);
                g.drawRect(x * size + inv_window_start, y * size + inventory_start, size, size);
                if(game.player.getInventory().getItem(x, y) != null) {
                    g.drawImage(game.player.getInventory().getItem(x, y).getSprite().getImage(), x * size + inv_window_start, y * size + inventory_start, size, size, null);
                }
            }
        }
    }