@Override
    public void paintComponent (Graphics g) {
        super.paintComponent(g);

        if (state == 0) { //main menu

        } else if (state == 1) { //load save menu
            g.drawRect(0, 0, getWidth(), getHeight());
        } else if (state == 2) { //options screen

        } else if (state == 3) { //game play

        } else if (state == 4) { //pause menu

        }
    }