infinitewisdom.view.overlays
Class BlockOverlay

java.lang.Object
  extended by infinitewisdom.view.overlays.BlockOverlay
All Implemented Interfaces:
OverlayIF
Direct Known Subclasses:
InfluenceOverlayBlock

public abstract class BlockOverlay
extends java.lang.Object
implements OverlayIF


Field Summary
protected  int blocksize
           
protected  GameWorldView gameWorldView
           
 
Constructor Summary
BlockOverlay(GameWorldView gwv, int blocksize)
           
 
Method Summary
abstract  java.awt.Color computePixelColor(int x, int y)
           
 void draw(java.awt.Graphics graphics)
           
 GameWorldView getGameWorldView()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blocksize

protected int blocksize

gameWorldView

protected GameWorldView gameWorldView
Constructor Detail

BlockOverlay

public BlockOverlay(GameWorldView gwv,
                    int blocksize)
Method Detail

computePixelColor

public abstract java.awt.Color computePixelColor(int x,
                                                 int y)

draw

public void draw(java.awt.Graphics graphics)
Specified by:
draw in interface OverlayIF

getGameWorldView

public GameWorldView getGameWorldView()
Specified by:
getGameWorldView in interface OverlayIF