bot
Class CritterBoard
java.lang.Object
bot.Board
bot.CritterBoard
- All Implemented Interfaces:
- Cloneable, Serializable
- public class CritterBoard
- extends Board
- implements Serializable, Cloneable
This board has moving critters that can do stuff. It is not quite in
a workable state at the moment, due to redrawing issues.
- See Also:
- Serialized Form
| Methods inherited from class bot.Board |
addSquare, addSquare, addSquare, clone, getCenter, getDimensions, getHeight, getSquare, getSquare, getSquares, getTLCorner, getWidth, getWinChecker, hasSquare, hasSquare, hasSquare, isKeyBoard, loadBoard, loadBoard, numSquares, save, save, setStart, setStart, start |
CritterBoard
public CritterBoard()
- Make an empty board.
addCritter
public void addCritter(Critter c)
endAction
public void endAction(Bot b)
- If the board wants to hear about an action being ended, override this and
make a special board. In this case, it tells all the critters to tick.
- Overrides:
endAction in class Board
setInformer
public void setInformer(Informer inf)
- If we need to know who our informer is. (For CritterBoard)
- Overrides:
setInformer in class Board