Package org.drools.games.pong
Class PongConfiguration
- java.lang.Object
-
- org.drools.games.GameConfiguration
-
- org.drools.games.pong.PongConfiguration
-
public class PongConfiguration extends GameConfiguration
-
-
Constructor Summary
Constructors Constructor Description PongConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intboundedBottom()intboundedLeft()intboundedRight()intboundedTop()intgetBallStartingSpeed()intgetBallWidth()intgetBatHeight()intgetBatSpeed()intgetBatWidth()intgetNetDash()intgetNetGap()intgetNetWidth()intgetPadding()intgetSideLineWidth()intgetTableHeight()intgetTableWidth()voidsetBallStartingSpeed(int ballStartingSpeed)voidsetBallWidth(int ballWidth)voidsetBatHeight(int batHeight)voidsetBatSpeed(int batSpeed)voidsetBatWidth(int batWidth)voidsetNet(int width, int dash, int gap)voidsetPadding(int padding)voidsetSideLineWidth(int sideLineWidth)voidsetTableHeight(int tableHeight)voidsetTableWidth(int tableWidth)-
Methods inherited from class org.drools.games.GameConfiguration
getWindowHeight, getWindowWidth, isExitOnClose, setExitOnClose, setWindowHeight, setWindowWidth
-
-
-
-
Method Detail
-
getTableWidth
public int getTableWidth()
-
setTableWidth
public void setTableWidth(int tableWidth)
-
getTableHeight
public int getTableHeight()
-
setTableHeight
public void setTableHeight(int tableHeight)
-
getSideLineWidth
public int getSideLineWidth()
-
setSideLineWidth
public void setSideLineWidth(int sideLineWidth)
-
getBallWidth
public int getBallWidth()
-
setBallWidth
public void setBallWidth(int ballWidth)
-
getBallStartingSpeed
public int getBallStartingSpeed()
-
setBallStartingSpeed
public void setBallStartingSpeed(int ballStartingSpeed)
-
getBatWidth
public int getBatWidth()
-
setBatWidth
public void setBatWidth(int batWidth)
-
getBatHeight
public int getBatHeight()
-
setBatHeight
public void setBatHeight(int batHeight)
-
getBatSpeed
public int getBatSpeed()
-
setBatSpeed
public void setBatSpeed(int batSpeed)
-
getPadding
public int getPadding()
-
setPadding
public void setPadding(int padding)
-
setNet
public void setNet(int width, int dash, int gap)
-
getNetWidth
public int getNetWidth()
-
getNetDash
public int getNetDash()
-
getNetGap
public int getNetGap()
-
boundedRight
public int boundedRight()
-
boundedLeft
public int boundedLeft()
-
boundedBottom
public int boundedBottom()
-
boundedTop
public int boundedTop()
-
-