com.speckled.specksim
Interface WallProvider

All Superinterfaces:
Configurable
All Known Implementing Classes:
RandomWalls

public interface WallProvider
extends Configurable

Interface for classes that can specify walls in the simulator

Author:
ryanm

Method Summary
 java.lang.String getName()
          Gets a name for this provider
 Wall[] getWalls()
          Gets the walls
 void init(WallManager manager)
          Called when this provider is made current for the simulator
 
Methods inherited from interface com.ryanm.config.Configurable
getConfigurator
 

Method Detail

getName

java.lang.String getName()
Gets a name for this provider

Returns:
A name

init

void init(WallManager manager)
Called when this provider is made current for the simulator

Parameters:
manager - The manager who must be kept appraised of changes to the walls

getWalls

Wall[] getWalls()
Gets the walls

Returns:
An array of the wall objects that should be added to the simulator