public interface TurtleHitListener
extends java.util.EventListener
void turtleHit(Turtle t, double x, double y)
t
- the reference of the turtle that is hitx
- the x coordinate of the mouse cursor (inside the turtle image)y
- the x coordinate of the mouse cursor (inside the turtle image)