java.lang.Objectgreenfoot.World
Board
public class Board
The game board.
Field Summary | |
---|---|
int |
levelNum
The number of levels |
Fields inherited from class greenfoot.World |
---|
lock, READ_LOCK_TIMEOUT |
Constructor Summary | |
---|---|
Board()
Create a new board |
Method Summary | |
---|---|
void |
ballIsOut()
Called when the ball has not been caught by the paddle. |
void |
completed()
Called when all levels have been completed. |
void |
nextLevel()
Called when the level has been completed. |
void |
setupLevel()
Sets up a specified level |
Methods inherited from class greenfoot.World |
---|
act, addObject, getBackground, getCellSize, getColorAt, getHeight, getObjects, getObjectsAt, getWidth, isTiled, numberOfObjects, removeObject, removeObjects, repaint, setActOrder, setBackground, setBackground, setPaintOrder, setTiled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int levelNum
Constructor Detail |
---|
public Board()
Method Detail |
---|
public void ballIsOut()
public void completed()
public void nextLevel()
public void setupLevel()