Class Gator

java.lang.Object
  extended by Enemy
      extended by Gator

public class Gator
extends Enemy


Field Summary
private  Coco coco
           
private  java.awt.image.BufferedImage[] gatorImage
           
 
Constructor Summary
Gator(Position p, int hitPoints, int damage, java.awt.image.BufferedImage[] enemyImage, Coco coco)
           
 
Method Summary
 void move()
           
 
Methods inherited from class Enemy
attack, chase, closeEnoughToBite, draw, getHitPoints, getImage, getPosition, getRange, getRectangle, incrementCycle, isDead, isWithinRange, pickDirection, setHitPoints, setImage, setPosition, setWalking, takeDamage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gatorImage

private java.awt.image.BufferedImage[] gatorImage

coco

private Coco coco
Constructor Detail

Gator

public Gator(Position p,
             int hitPoints,
             int damage,
             java.awt.image.BufferedImage[] enemyImage,
             Coco coco)
Method Detail

move

public void move()
Specified by:
move in class Enemy