Class Wall

java.lang.Object
  extended by Obj
      extended by Wall

public class Wall
extends Obj

This class just sits there and doesn't do anything.

Author:
Jonathan

Field Summary
private  java.awt.image.BufferedImage wallImage
           
 
Constructor Summary
Wall(Grid gr)
          Creates a new wall object.
 
Method Summary
 java.awt.image.BufferedImage getImage()
          Returns the image to be drawn in the grid.
 
Methods inherited from class Obj
getGrid, getX, getY, moveTo, putSelfInGrid, removeSelfFromGrid, setX, setY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wallImage

private java.awt.image.BufferedImage wallImage
Constructor Detail

Wall

public Wall(Grid gr)
Creates a new wall object. A wall cannot move and does nothing.

Parameters:
gr -
Method Detail

getImage

public java.awt.image.BufferedImage getImage()
Description copied from class: Obj
Returns the image to be drawn in the grid.

Specified by:
getImage in class Obj
Returns:
the image to be drawn.