All Packages Class Hierarchy This Package Previous Next Index
Interface gpsys.cos.TerrainObserver
- public interface TerrainObserver
Allows monitoirng of changes to the Terrain.
- Author:
- Emmanuel PIERRE
DEA IARFA,
- See Also:
- cos
-
printInfo(String)
- Print to a text box
-
printTxt(String)
- Print to a TextArea
-
robotMoved(int, int)
-
Called when the square at the specified coordinates is being cut.
-
terrainInit()
-
Called when the entire Terrain regenerates.
terrainInit
public abstract void terrainInit()
- Called when the entire Terrain regenerates.
robotMoved
public abstract void robotMoved(int x,
int y)
- Called when the square at the specified coordinates is being cut.
- Parameters:
- x - The X-coordinate of the terrain square being cut.
- y - The Y-coordinate of the terrain square being cut.
printTxt
public abstract void printTxt(String str)
- Print to a TextArea
printInfo
public abstract void printInfo(String str)
- Print to a text box
All Packages Class Hierarchy This Package Previous Next Index