All Packages Class Hierarchy This Package Previous Next Index
Interface gpsys.lawnmower.LawnObserver
- public interface LawnObserver
Allows monitoirng of changes to the Lawn.
- Version:
- 1.1, 30th June '97
- Author:
- Adil Qureshi
Department of Computer Science,
University College London,
Gower St,
London WC1E 6BT,
UK.
- See Also:
- Lawn
-
lawnCutting(int, int)
-
Called when the square at the specified coordinates is being cut.
-
lawnGrown()
-
Called when the entire lawn regrows.
lawnGrown
public abstract void lawnGrown()
- Called when the entire lawn regrows.
lawnCutting
public abstract 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.
All Packages Class Hierarchy This Package Previous Next Index