summaryrefslogtreecommitdiff
path: root/NET/worlds/scape/FrameSensor.java
blob: 05ef7c767f0185d60868897d97365f6c5fa07e7a (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
/*    */ package NET.worlds.scape;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class FrameSensor
/*    */   extends Sensor
/*    */   implements FrameHandler
/*    */ {
/*    */   public FrameSensor(Action a)
/*    */   {
/* 25 */     if (a != null) {
/* 26 */       addAction(a);
/*    */     }
/*    */   }
/*    */   
/*    */ 
/*    */   public FrameSensor() {}
/*    */   
/*    */ 
/*    */   public boolean handle(FrameEvent e)
/*    */   {
/* 36 */     trigger(e);
/* 37 */     return true;
/*    */   }
/*    */ }


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