Class PongConfiguration

java.lang.Object
org.drools.games.GameConfiguration
org.drools.games.pong.PongConfiguration

public class PongConfiguration extends GameConfiguration
  • Constructor Details

    • PongConfiguration

      public PongConfiguration()
  • Method Details

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