summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/MouseEnterEvent.java
blob: 4fdf3d67f5054246bc267d6be101f5176afb9fa7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
package NET.worlds.scape;

public class MouseEnterEvent extends MousePositionEvent {
   public MouseEnterEvent(int time, WObject target, int x, int y) {
      super(time, target, x, y);
   }

   @Override
   public boolean deliver(Object o) {
      return o instanceof MouseEnterHandler && ((MouseEnterHandler)o).handle(this) ? true : super.deliver(o);
   }
}