package NET.worlds.scape; public class MouseEvent extends UserEvent { public int x; public int y; public MouseEvent(int time, WObject target, int x, int y) { super(time, null, target); this.x = x; this.y = y; } @Override public boolean deliver(Object o) { return o instanceof MouseHandler && ((MouseHandler)o).handle(this) ? true : super.deliver(o); } }