From e1e781bb2135ef78592226f1a3eaba4925702f1f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 3 May 2021 16:38:41 -0700 Subject: :star: --- NET/worlds/console/InventoryPart.java | 59 +++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 NET/worlds/console/InventoryPart.java (limited to 'NET/worlds/console/InventoryPart.java') diff --git a/NET/worlds/console/InventoryPart.java b/NET/worlds/console/InventoryPart.java new file mode 100644 index 0000000..55656a6 --- /dev/null +++ b/NET/worlds/console/InventoryPart.java @@ -0,0 +1,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 + */ \ No newline at end of file -- cgit v1.2.3