gui.playfield
Class MapGraphic

java.lang.Object
  extended by gui.playfield.PlayFieldGraphic
      extended by gui.playfield.MapGraphic

public class MapGraphic
extends PlayFieldGraphic

PlayfieldGraphic for SimMap visualization


Field Summary
 
Fields inherited from class gui.playfield.PlayFieldGraphic
scale
 
Constructor Summary
MapGraphic(SimMap simMap)
           
 
Method Summary
 void draw(java.awt.Graphics2D g2)
          Draws the graphic component to the graphics context g2
 
Methods inherited from class gui.playfield.PlayFieldGraphic
getScale, invScale, scale, scale, setScale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapGraphic

public MapGraphic(SimMap simMap)
Method Detail

draw

public void draw(java.awt.Graphics2D g2)
Description copied from class: PlayFieldGraphic
Draws the graphic component to the graphics context g2

Specified by:
draw in class PlayFieldGraphic
Parameters:
g2 - The context to draw the graphics to