package othello.gui;

import javax.swing.JPanel;

import game.api.GameState;
import gui.ContentPanelCreatable;

public class OthelloContentCreator implements ContentPanelCreatable {
	private GameState gameState;
	
	public OthelloContentCreator(GameState gameState) {
		this.gameState = gameState;
	}

	@Override
	public JPanel createGuiPanel() {
		return null;
	}

}

@@ -43,16 +43,63 @@
 Panel;%0A%0A
+import othello.gui.panels.OthelloContentPanel;%0A
 import g
@@ -252,16 +252,56 @@
 eState;%0A
+%09private OthelloGuiInputUnit inputUnit;%0A
 %09%0A%09publi
@@ -343,16 +343,47 @@
 ameState
+, OthelloGuiInputUnit inputUnit
 ) %7B%0A%09%09th
@@ -408,16 +408,46 @@
 eState;%0A
+%09%09this.inputUnit = inputUnit;%0A
 %09%7D%0A%0A%09@Ov
@@ -493,19 +493,96 @@
 %7B%0A%09%09
-return null
+JPanel contentPane = new OthelloContentPanel(gameState, inputUnit);%0A%09%09return contentPane
 ;%0A%09%7D

update of OthelloContentCreator