| 
 | Amazing Mazes | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
java.lang.Object
  |
  +--Mouse
        |
        +--Smarty
              |
              +--SWEN
The SWEN mouse will use a strategy that moves in the order of South West East North. Because it is derived from the base class Smarty, it has a memory.
| Fields inherited from class Mouse | 
| curPosition_,  
mazeAdapter_,  
stack_ | 
| Constructor Summary | |
| SWEN() | |
| Method Summary | |
| protected  Direction | makeAMove()For each turn the makeAMove method is called. | 
| Methods inherited from class Smarty | 
| advance, 
retreat | 
| Methods inherited from class Mouse | 
| distanceToGoal, 
passagewayOpenAt, 
randomInt, 
solveMaze | 
| Methods inherited from class java.lang.Object | 
|  | 
| Constructor Detail | 
public SWEN()
| Method Detail | 
protected Direction makeAMove()
| 
 | Author: Andrew Bridges Copyright © 2001 | ||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||