summaryrefslogtreecommitdiff
path: root/NET/worlds/console/InventoryPart.java
blob: 55656a6ce22238b2ab16e8af455ed651910db11a (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
56
57
58
59
/*    */ package NET.worlds.console;
/*    */ 
/*    */ import NET.worlds.scape.FrameEvent;
/*    */ import java.awt.Container;
/*    */ import java.awt.Event;
/*    */ import java.awt.MenuItem;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class InventoryPart
/*    */   implements FramePart
/*    */ {
/*    */   MenuItem inventoryItem;
/*    */   
/*    */   public void activate(Console c, Container f, Console prev)
/*    */   {
/* 30 */     this.inventoryItem = c.addMenuItem(Console.message("Inventory") + "...", 
/* 31 */       "File");
/*    */   }
/*    */   
/*    */   public void deactivate() {
/* 35 */     this.inventoryItem = null;
/*    */   }
/*    */   
/*    */   public boolean handle(FrameEvent f) {
/* 39 */     return true;
/*    */   }
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public boolean action(Event event, Object what)
/*    */   {
/* 51 */     return false;
/*    */   }
/*    */ }


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