bot.gen
Class DirectoryGenerator

java.lang.Object
  extended bybot.BoardFactory
      extended bybot.gen.DirectoryGenerator
All Implemented Interfaces:
BoardGenerator

public class DirectoryGenerator
extends BoardFactory

Load all boards in current directory and feed to bot one board at a time. All ".brd" files are considered boards. If there are no boards, it will generate an error.


Field Summary
 
Fields inherited from class bot.BoardFactory
BOARD_POSTFIX, BOARD_PREFIX
 
Constructor Summary
DirectoryGenerator()
           
DirectoryGenerator(String path)
           
 
Methods inherited from class bot.BoardFactory
addBoardName, addBoardName, check, check, generateBoard
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryGenerator

public DirectoryGenerator()

DirectoryGenerator

public DirectoryGenerator(String path)