org.drools.games.pong
Class PongConfiguration

java.lang.Object
  extended by org.drools.games.pong.PongConfiguration

public class PongConfiguration
extends Object


Constructor Summary
PongConfiguration()
           
 
Method Summary
 int getBallStartingSpeed()
           
 int getBallWidth()
           
 int getBatHeight()
           
 int getBatSpeed()
           
 int getBatWidth()
           
 int getNetDash()
           
 int getNetGap()
           
 int getNetWidth()
           
 int getPadding()
           
 int getSideLineWidth()
           
 int getTableHeight()
           
 int getTableWidth()
           
 boolean isExitOnClose()
           
 void setBallStartingSpeed(int ballStartingSpeed)
           
 void setBallWidth(int ballWidth)
           
 void setBatHeight(int batHeight)
           
 void setBatSpeed(int batSpeed)
           
 void setBatWidth(int batWidth)
           
 void setExitOnClose(boolean exitOnClose)
           
 void setNet(int width, int dash, int gap)
           
 void setPadding(int padding)
           
 void setSideLineWidth(int sideLineWidth)
           
 void setTableHeight(int tableHeight)
           
 void setTableWidth(int tableWidth)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PongConfiguration

public PongConfiguration()
Method Detail

isExitOnClose

public boolean isExitOnClose()

setExitOnClose

public void setExitOnClose(boolean exitOnClose)

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()


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.