Methapolis  0.27
 All Classes Namespaces Files Functions Variables Enumerator
micropolisj.engine.MapListener Interface Reference

Public Member Functions

void mapOverlayDataChanged (MapState overlayDataType)
void spriteMoved (Sprite sprite)
void tileChanged (int xpos, int ypos)
void wholeMapChanged ()

Detailed Description

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.

Member Function Documentation

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.


The documentation for this interface was generated from the following file: