bot.gen
Class FullRoom

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

public class FullRoom
extends Room
implements BoardGenerator, ExtraPainBoardGenerator

A small room where every square has some object in it. Picking up all objects that don't weigh more than a stick (and aren't dangerous in the case of the extra pain option) is the solution.


Field Summary
 
Fields inherited from interface bot.ConfigurableBoardGenerator
BIG, DEFAULT_DIFFICULTY, EASY, HARD, MEDIUM, SMALL, TRIVIAL, VERY_HARD
 
Constructor Summary
FullRoom()
           
 
Method Summary
 Board generateBoard()
          Generate the maze!
 boolean painOn()
           
 void setExtraPain(boolean painOn)
           
 
Methods inherited from class bot.gen.Room
makeRoom, makeRoom
 
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

FullRoom

public FullRoom()
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()
Generate the maze!

Specified by:
generateBoard in interface BoardGenerator
Overrides:
generateBoard in class Room