public class PongConfiguration extends GameConfiguration
Constructor and Description |
---|
PongConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
boundedBottom() |
int |
boundedLeft() |
int |
boundedRight() |
int |
boundedTop() |
int |
getBallStartingSpeed() |
int |
getBallWidth() |
int |
getBatHeight() |
int |
getBatSpeed() |
int |
getBatWidth() |
int |
getNetDash() |
int |
getNetGap() |
int |
getNetWidth() |
int |
getPadding() |
int |
getSideLineWidth() |
int |
getTableHeight() |
int |
getTableWidth() |
void |
setBallStartingSpeed(int ballStartingSpeed) |
void |
setBallWidth(int ballWidth) |
void |
setBatHeight(int batHeight) |
void |
setBatSpeed(int batSpeed) |
void |
setBatWidth(int batWidth) |
void |
setNet(int width,
int dash,
int gap) |
void |
setPadding(int padding) |
void |
setSideLineWidth(int sideLineWidth) |
void |
setTableHeight(int tableHeight) |
void |
setTableWidth(int tableWidth) |
getWindowHeight, getWindowWidth, isExitOnClose, setExitOnClose, setWindowHeight, setWindowWidth
public int getTableWidth()
public void setTableWidth(int tableWidth)
public int getTableHeight()
public void setTableHeight(int tableHeight)
public int getSideLineWidth()
public void setSideLineWidth(int sideLineWidth)
public int getBallWidth()
public void setBallWidth(int ballWidth)
public int getBallStartingSpeed()
public void setBallStartingSpeed(int ballStartingSpeed)
public int getBatWidth()
public void setBatWidth(int batWidth)
public int getBatHeight()
public void setBatHeight(int batHeight)
public int getBatSpeed()
public void setBatSpeed(int batSpeed)
public int getPadding()
public void setPadding(int padding)
public void setNet(int width, int dash, int gap)
public int getNetWidth()
public int getNetDash()
public int getNetGap()
public int boundedRight()
public int boundedLeft()
public int boundedBottom()
public int boundedTop()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.