Class Bunny

java.lang.Object
  extended by Enemy
      extended by Bunny

public class Bunny
extends Enemy


Field Summary
private  java.awt.image.BufferedImage[] bunnyImage
           
private  Coco coco
           
 
Constructor Summary
Bunny(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

bunnyImage

private java.awt.image.BufferedImage[] bunnyImage

coco

private Coco coco
Constructor Detail

Bunny

public Bunny(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