DrawingStrategy

public abstract class DrawingStrategy

Fields

bounds

protected Rectangle bounds

info

String info

Methods

charGraphic

public static DrawingStrategy charGraphic(char c)

draw

public abstract void draw(Graphics g, int tlx, int tly)

fogGraphic

public static DrawingStrategy fogGraphic()

graphic for the fog of war

infoGraphic

public static DrawingStrategy infoGraphic()

mineGraphic

public static DrawingStrategy mineGraphic()

revealedMineGraphic

public static DrawingStrategy revealedMineGraphic()

revealedTreeGraphic

public static DrawingStrategy revealedTreeGraphic()

selectedGraphic

public static DrawingStrategy selectedGraphic()

setInfo

public void setInfo(String info)

treeGraphic

public static DrawingStrategy treeGraphic()