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

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

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