Class Bear

java.lang.Object
  extended by Enemy
      extended by Bear

public class Bear
extends Enemy


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

bearImage

private java.awt.image.BufferedImage[] bearImage

coco

private Coco coco
Constructor Detail

Bear

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