ctf.environment
Interface ObstacleSet

All Known Implementing Classes:
DefaultSet, FileSet, LargeRandomSet, RandomSet

interface ObstacleSet

Obstacle location preset. Note that obstacle set is required to leave left and right columns of board free of obstacles. Note that this class only has package access enabled.

Author:
Jason Rohrer

Method Summary
 EnvironmentLocation[] getObstacleLocations(int inBoardSize)
          Gets an array of obstacle locations specified by this set.
 

Method Detail

getObstacleLocations

public EnvironmentLocation[] getObstacleLocations(int inBoardSize)
Gets an array of obstacle locations specified by this set.
Parameters:
inBoardSize - the dimension of the board.
Returns:
an array of obstacle locations.