Interface MazeChangeListener

All Known Implementing Classes:
MazeTracer

public interface MazeChangeListener

Interface used to listen for maze change events. Objects that wish to register as listeners for changes in the maze state must implement this interface.

Author:
Albert J. Wong (awong@cs)

Method Summary
 void cellStateChangeEvent(MazeCell cell)
          This method is called when a single cell has had its state changed.
 void stateChangeEvent()
          This method is called when the general state of the maze has been changed.
 

Method Detail

cellStateChangeEvent

void cellStateChangeEvent(MazeCell cell)
This method is called when a single cell has had its state changed. The cell in which the change occurred is given in as the parameter.

Parameters:
cell - the cell whose state change is being broadcast

stateChangeEvent

void stateChangeEvent()
This method is called when the general state of the maze has been changed.