bot.gen
Class BullsEye
java.lang.Object
bot.gen.ConfigurableBoard
bot.gen.BullsEye
- All Implemented Interfaces:
- BoardGenerator, ConfigurableBoardGenerator, ExtraPainBoardGenerator
- public class BullsEye
- extends ConfigurableBoard
- implements ExtraPainBoardGenerator
Make a bullseye maze with key in it.
Diffaculty is number of loops.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
board
protected Board board
BullsEye
public BullsEye()
setExtraPain
public void setExtraPain(boolean painOn)
- Specified by:
setExtraPain in interface ExtraPainBoardGenerator
painOn
public boolean painOn()
- Specified by:
painOn in interface ExtraPainBoardGenerator
fillWithAcid
public void fillWithAcid(Board b,
int tlx,
int tly,
int w,
int h)
drawRect
public void drawRect(Board b,
int tlx,
int tly,
int wid,
int height)
generateBoard
public Board generateBoard()
- Generate the maze!
- Specified by:
generateBoard in interface BoardGenerator