public class BlockDudeVisualizer
extends java.lang.Object
BlockDude
. The agent is a blue square with a gold eye
indicating the direction it's facing; bricks are rendered in green; the exit in black, and movable blocks in grey.Modifier and Type | Class and Description |
---|---|
static class |
BlockDudeVisualizer.AgentPainter
A class for rendering the agent as a blue square with a gold eye indicating the direction its facing.
|
static class |
BlockDudeVisualizer.BlockPainter
A class for rendering a block as a grey square
|
static class |
BlockDudeVisualizer.BricksPainter
A class for rendering bricks as green squares.
|
static class |
BlockDudeVisualizer.ExitPainter
A class for rendering an exit with a black square
|
Modifier and Type | Method and Description |
---|---|
static StateRenderLayer |
getStateRenderLayer(int maxx,
int maxy)
Returns a
StateRenderLayer for BlockDudeVisualizer . |
static Visualizer |
getVisualizer(int maxx,
int maxy)
Returns a
Visualizer for BlockDude . |
public static Visualizer getVisualizer(int maxx, int maxy)
Visualizer
for BlockDude
.maxx
- the max x dimensionality of the worldmaxy
- the max y dimensionality of the worldVisualizer
for BlockDude
public static StateRenderLayer getStateRenderLayer(int maxx, int maxy)
StateRenderLayer
for BlockDudeVisualizer
.maxx
- the max x dimensionality of the worldmaxy
- the max y dimensionality of the worldStateRenderLayer
for BlockDudeVisualizer
.