Package org.drools.games.wumpus.view
Class GameUI
- java.lang.Object
-
- org.drools.games.wumpus.view.GameUI
-
public class GameUI extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GameUI(org.kie.api.runtime.KieSession ksession, WumpusWorldConfiguration wumpusWorldConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JPaneldrawActionPanel()GamePaneldrawCave()javax.swing.JPaneldrawMovePanel()GamePaneldrawSensorPanel()GamePanelgetCavePanel()GameViewgetGameView()javax.swing.JFramegetParentJFrame()GamePanelgetSensorPanel()voidrepaint()voidsetGameView(GameView gameView)
-
-
-
Constructor Detail
-
GameUI
public GameUI(org.kie.api.runtime.KieSession ksession, WumpusWorldConfiguration wumpusWorldConfiguration)
-
-
Method Detail
-
setGameView
public void setGameView(GameView gameView)
-
getParentJFrame
public javax.swing.JFrame getParentJFrame()
-
getGameView
public GameView getGameView()
-
getCavePanel
public GamePanel getCavePanel()
-
getSensorPanel
public GamePanel getSensorPanel()
-
repaint
public void repaint()
-
drawSensorPanel
public GamePanel drawSensorPanel()
-
drawCave
public GamePanel drawCave()
-
drawActionPanel
public javax.swing.JPanel drawActionPanel()
-
drawMovePanel
public javax.swing.JPanel drawMovePanel()
-
-