gvprojects.igel.view
Class CellPanelArtist

java.lang.Object
  extended by gvprojects.igel.view.CellPanelArtist
All Implemented Interfaces:
Artist
Direct Known Subclasses:
DeepPitArtist, FinishCellArtist

public class CellPanelArtist
extends java.lang.Object
implements Artist

Draws a picture of a corresponding IgelArgernFullPresenter game cell.

Author:
Zachary Kurmas

Field Summary
 
Fields inherited from interface gvprojects.igel.view.Artist
HEDGEHOG_COLORS
 
Constructor Summary
CellPanelArtist()
           
 
Method Summary
 void draw(CellPanel panel, java.awt.Graphics g, ICellState state)
          Draw this cell
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellPanelArtist

public CellPanelArtist()
Method Detail

draw

public void draw(CellPanel panel,
                 java.awt.Graphics g,
                 ICellState state)
Description copied from interface: Artist
Draw this cell

Specified by:
draw in interface Artist
Parameters:
panel - The panel representing the cell
g - The Graphics object with which to draw
state - The current state of the cell.