ai.worlds.wumpus
Class Wumpus

java.lang.Object
  extended byai.worlds.Obj
      extended byai.worlds.wumpus.Wumpus

public class Wumpus
extends Obj

A wumpus that appears in the wumpus world.

Author:
Jill Zimmerman -- jill.zimmerman@goucher.edu

Field Summary
 
Fields inherited from class ai.worlds.Obj
alive, bump, container, heading, loc, name, sound
 
Constructor Summary
Wumpus()
           
Wumpus(Location location)
           
 
Method Summary
 void draw(java.awt.Graphics g, java.awt.Point p, int cellSize)
          Draw the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wumpus

public Wumpus()

Wumpus

public Wumpus(Location location)
Method Detail

draw

public void draw(java.awt.Graphics g,
                 java.awt.Point p,
                 int cellSize)
Description copied from class: Obj
Draw the object.

Specified by:
draw in class Obj
Parameters:
g - is the graphics object.
p - is the position to draw.
cellSize - is the size of the cell in which it is drawn.