blob: 342879b108a7cd657a5c1b03fb0f4e362b799744 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package NET.worlds.scape;
public class PickEvent extends UserEvent {
public float x;
public float y;
public float z;
public PickEvent(int time, WObject target, float _x, float _y, float _z) {
super(time, null, target);
this.x = _x;
this.y = _y;
this.z = _z;
}
@Override
public boolean deliver(Object o) {
return o instanceof PickHandler && ((PickHandler)o).handle(this) ? true : super.deliver(o);
}
}
|