Methapolis
0.27
|
Public Member Functions | |
void | mapOverlayDataChanged (MapState overlayDataType) |
void | spriteMoved (Sprite sprite) |
void | tileChanged (int xpos, int ypos) |
void | wholeMapChanged () |
The listener interface for receiving notifications whenever a tile on the city map changes, or when a sprite moves or changes.
Definition at line 15 of file MapListener.java.
void micropolisj.engine.MapListener.mapOverlayDataChanged | ( | MapState | overlayDataType | ) |
Called whenever data for a specific overlay has changed.
void micropolisj.engine.MapListener.spriteMoved | ( | Sprite | sprite | ) |
Called when a sprite moves.
void micropolisj.engine.MapListener.tileChanged | ( | int | xpos, |
int | ypos | ||
) |
Called when a map tile changes, including for animations.
void micropolisj.engine.MapListener.wholeMapChanged | ( | ) |
Called when the entire map should be reread and rendered.