gpsys.lawnmower
Interface LawnObserver
- All Known Implementing Classes:
- LawnViewer
- public abstract interface LawnObserver
Allows monitoirng of changes to the Lawn.
- Version:
- $Revision: 1.1 $, $Date: 2000/07/05 16:26:49 $
- Author:
- Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
- See Also:
Lawn
|
Method Summary |
void |
lawnCutting(int x,
int y)
Called when the square at the specified coordinates is being cut. |
void |
lawnGrown()
Called when the entire lawn regrows. |
lawnGrown
public void lawnGrown()
- Called when the entire lawn regrows.
lawnCutting
public void lawnCutting(int x,
int y)
- Called when the square at the specified coordinates is being cut.
- Parameters:
x - The X-coordinate of the lawn square being cut.y - The Y-coordinate of the lawn square being cut.