public class TestMouse extends Mouse
Constructor and Description |
---|
TestMouse() |
Modifier and Type | Method and Description |
---|---|
int |
move(Grid currentGrid,
Cheese cheese)
The move method is called every time a mouse reaches a new grid.
|
void |
newCheese()
This method is called every time a mouse (including own implementation) consumes
a cheese and a new cheese is relocated.
|
void |
respawned()
This method is called every time the Mouse touches a bomb that is not planted by it.
|
public int move(Grid currentGrid, Cheese cheese)
Mouse
public void newCheese()
Mouse