package bwyap.familyfeud;

import static bwyap.familyfeud.FamilyFeud.TITLE;
import static bwyap.familyfeud.FamilyFeud.VERSION;

import bwyap.familyfeud.gui.window.ControlWindow;
import bwyap.familyfeud.gui.window.GameWindow;
import bwyap.familyfeud.gui.window.render.RenderingPanel;

/**
 * This class is responsible for handling all GUI components of the Family Feud application
 * @author bwyap
 *
 */
public class FamilyFeudGUI {
	
	private GameWindow gameWindow;
	private ControlWindow controlWindow;
	
	public FamilyFeudGUI(RenderingPanel renderPanel) {
		gameWindow = new GameWindow(TITLE, renderPanel);
		controlWindow = new ControlWindow(TITLE + " controller " + VERSION, gameWindow);
	}
	
	/**
	 * Initialize GUI components
	 */
	public void init() {
		gameWindow.initWindow();
		controlWindow.initWindow();
	}
	
	/**
	 * Start the application by showing the windows
	 */
	public void start() {
		controlWindow.setVisible(true);
	}
	
}

@@ -500,16 +500,169 @@
 ndow;%0A%09%0A
+%09/**%0A%09 * Create a new GUI manager which initializes a game window with %0A%09 * the provided RenderingPanel and a control window%0A%09 * @param renderPanel%0A%09 */%0A
 %09public 

Update documentation