summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/MouseDownEvent.java
blob: 10e4de845607747e45ef1b82fe97b682615044c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*    */ package NET.worlds.scape;
/*    */ 
/*    */ import NET.worlds.console.BBWObjClickedCommand;
/*    */ import NET.worlds.console.BlackBox;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class MouseDownEvent
/*    */   extends MouseButtonEvent
/*    */ {
/*    */   public MouseDownEvent(int time, WObject target, char key, int x, int y)
/*    */   {
/* 23 */     super(time, target, key, x, y);
/*    */   }
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public boolean deliver(Object o)
/*    */   {
/* 35 */     if ((o instanceof MouseDownHandler))
/*    */     {
/* 37 */       BlackBox.getInstance().submitEvent(new BBWObjClickedCommand(
/* 38 */         ((SuperRoot)o).getName(), this.key, this.x, this.y));
/* 39 */       if (((MouseDownHandler)o).handle(this))
/* 40 */         return true;
/*    */     }
/* 42 */     return super.deliver(o);
/*    */   }
/*    */   
/*    */   public String toString()
/*    */   {
/* 47 */     return "MouseDown" + super.toString();
/*    */   }
/*    */ }


/* Location:              C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\MouseDownEvent.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */