gvprojects.igel.view
Interface Artist

All Known Implementing Classes:
CellPanelArtist, ConcreteBlockArtist, DeepPitArtist, FinishCellArtist, PresenterToDemoView.SmileyArtist

public interface Artist

An Artist draws the Cell in the GUI.

Author:
Zachary Kurmas

Field Summary
static java.awt.Color[] HEDGEHOG_COLORS
           
 
Method Summary
 void draw(CellPanel panel, java.awt.Graphics g, ICellState state)
          Draw this cell
 

Field Detail

HEDGEHOG_COLORS

static final java.awt.Color[] HEDGEHOG_COLORS
Method Detail

draw

void draw(CellPanel panel,
          java.awt.Graphics g,
          ICellState state)
Draw this cell

Parameters:
panel - The panel representing the cell
g - The Graphics object with which to draw
state - The current state of the cell.