public class ExampleGridWorld.WallPainter extends java.lang.Object implements StaticPainter
Constructor and Description |
---|
ExampleGridWorld.WallPainter() |
public void paint(java.awt.Graphics2D g2, State s, float cWidth, float cHeight)
StaticPainter
paint
in interface StaticPainter
g2
- graphics context to which the static data should be painteds
- the state to be paintedcWidth
- the width of the canvascHeight
- the height of the canvas