maze
Class Clear

public class Clear
extends Strategy

Title: Clear

Description: A simple strategy to clear the maze. Just traverse all the cells and set their status to Not Visited

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
Zoran Budimlic
Method Detail

execute

public void execute(Maze maze)
This is an example of a strategy that you should implement. To "animate" the execution of you strategy, you have to call the refreshAndRepaint method after you change the status of a cell
Parameters:
maze - - The Maze object on which to execute our algorithm