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

Method Index

 o printInfo(String)
Print to a text box
 o printTxt(String)
Print to a TextArea
 o robotMoved(int, int)
Called when the square at the specified coordinates is being cut.
 o terrainInit()
Called when the entire Terrain regenerates.

Methods

 o terrainInit
 public abstract void terrainInit()
Called when the entire Terrain regenerates.

 o 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.
 o printTxt
 public abstract void printTxt(String str)
Print to a TextArea

 o printInfo
 public abstract void printInfo(String str)
Print to a text box


All Packages  Class Hierarchy  This Package  Previous  Next  Index