Package org.drools.games.wumpus.view
Class GameView
java.lang.Object
org.drools.games.wumpus.view.GameView
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintgetCols()intintgetRows()voidinit(int cellHeight, int cellWidth, int cellPadding, int pittPercentage, int rows, int cols) voidbooleanvoidsetCellHeight(int cellHeight) voidsetCellPadding(int cellPadding) voidsetCellWidth(int cellWidth) voidsetCols(int cols) voidsetKlogger(KieRuntimeLogger klogger) voidsetKsession(StatefulKnowledgeSession ksession) voidsetPittPercentage(int pittPercentage) voidsetRows(int rows) voidsetShowAllCells(boolean showAllCells) voidsetWumpusWorld(WumpusWorldMain wumpusWorld)
-
Constructor Details
-
GameView
public GameView()
-
-
Method Details
-
init
-
init
public void init(int cellHeight, int cellWidth, int cellPadding, int pittPercentage, int rows, int cols) -
getWumpusWorld
-
setWumpusWorld
-
getKsession
-
setKsession
-
isShowAllCells
public boolean isShowAllCells() -
setShowAllCells
public void setShowAllCells(boolean showAllCells) -
getKlogger
-
setKlogger
-
getCellHeight
public int getCellHeight() -
setCellHeight
public void setCellHeight(int cellHeight) -
getCellWidth
public int getCellWidth() -
setCellWidth
public void setCellWidth(int cellWidth) -
getCellPadding
public int getCellPadding() -
setCellPadding
public void setCellPadding(int cellPadding) -
getPittPercentage
public int getPittPercentage() -
setPittPercentage
public void setPittPercentage(int pittPercentage) -
getRows
public int getRows() -
setRows
public void setRows(int rows) -
getCols
public int getCols() -
setCols
public void setCols(int cols)
-