Class Hole

java.lang.Object
  extended by Detector
      extended by Hole

public class Hole
extends Detector


Field Summary
(package private)  long score
           
 
Fields inherited from class Detector
active, height, timeInactive, val, width, x, y
 
Constructor Summary
Hole(double xi, double yi, long si, boolean act)
           
 
Method Summary
(package private)  int actOnCollision()
           
(package private)  boolean detect(int xh, int yh, QmGame qmGame)
           
 
Methods inherited from class Detector
activate, deactivate, plot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

score

long score
Constructor Detail

Hole

Hole(double xi,
     double yi,
     long si,
     boolean act)
Method Detail

actOnCollision

int actOnCollision()

detect

boolean detect(int xh,
               int yh,
               QmGame qmGame)
Overrides:
detect in class Detector