net.kolls.railworld.play.script
Interface DrawListener
public interface DrawListener
The interface used by a script to indicate it is interested in handling draw events.
- Author:
- Steve Kollmansberger
|
Method Summary |
void |
draw(java.awt.Graphics2D gc,
java.awt.Rectangle onScreen)
Called at every step to allow the script to draw on the map. |
draw
void draw(java.awt.Graphics2D gc,
java.awt.Rectangle onScreen)
- Called at every step to allow the script to draw on the map. This is called
after all z-levels for segments.
- Parameters:
gc - Graphics context of the image to draw on.onScreen - What portion (coordinates) of the image are on screen.