bot.gen
Class Bounce

java.lang.Object
  extended bybot.gen.ConfigurableBoard
      extended bybot.gen.Bounce
All Implemented Interfaces:
BoardGenerator, ConfigurableBoardGenerator, ExtraPainBoardGenerator

public class Bounce
extends ConfigurableBoard
implements BoardGenerator, ExtraPainBoardGenerator

Make a board with the bot in the middle of a long hall, acid at each end.


Field Summary
 
Fields inherited from interface bot.ConfigurableBoardGenerator
BIG, DEFAULT_DIFFICULTY, EASY, HARD, MEDIUM, SMALL, TRIVIAL, VERY_HARD
 
Constructor Summary
Bounce()
           
 
Method Summary
 Board generateBoard()
           
 boolean painOn()
           
 void setExtraPain(boolean painOn)
           
 
Methods inherited from class bot.gen.ConfigurableBoard
getDifficulty, getDifficulty, getDifficulty, getRandomizedDifficulty, setDifficulty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bounce

public Bounce()
Method Detail

setExtraPain

public void setExtraPain(boolean painOn)
Specified by:
setExtraPain in interface ExtraPainBoardGenerator

painOn

public boolean painOn()
Specified by:
painOn in interface ExtraPainBoardGenerator

generateBoard

public Board generateBoard()
Specified by:
generateBoard in interface BoardGenerator