diff options
| author | Fuwn <[email protected]> | 2021-05-03 16:38:41 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-03 16:38:41 -0700 |
| commit | e1e781bb2135ef78592226f1a3eaba4925702f1f (patch) | |
| tree | 8a5b590463ed413e1c6eabb719130e701b95ca63 /NET/worlds/scape/InventoryAction.java | |
| download | worlds.jar-main.tar.xz worlds.jar-main.zip | |
Diffstat (limited to 'NET/worlds/scape/InventoryAction.java')
| -rw-r--r-- | NET/worlds/scape/InventoryAction.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/NET/worlds/scape/InventoryAction.java b/NET/worlds/scape/InventoryAction.java new file mode 100644 index 0000000..a00aa7a --- /dev/null +++ b/NET/worlds/scape/InventoryAction.java @@ -0,0 +1,49 @@ +/* */ package NET.worlds.scape; +/* */ +/* */ +/* */ public class InventoryAction +/* */ extends InventoryItem +/* */ { +/* */ public InventoryAction(String id, String name) +/* */ { +/* 9 */ super(id, name); +/* */ } +/* */ +/* */ public InventoryAction(String id, String name, int qty) +/* */ { +/* 14 */ super(id, name, qty); +/* */ } +/* */ +/* */ public InventoryAction(InventoryAction in) +/* */ { +/* 19 */ super(in); +/* */ } +/* */ +/* */ public InventoryItem cloneItem() +/* */ { +/* 24 */ return new InventoryAction(this); +/* */ } +/* */ +/* */ public static InventoryAction createAction(String id, String name, int qty) +/* */ { +/* 29 */ if (id.equals("H")) +/* */ { +/* 31 */ return new HighJump(id, name, qty); +/* */ } +/* */ +/* */ +/* 35 */ return new InventoryAction(id, name, qty); +/* */ } +/* */ +/* */ +/* */ public boolean doAction() +/* */ { +/* 41 */ return true; +/* */ } +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\InventoryAction.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |