diff options
Diffstat (limited to 'item.rhm')
-rw-r--r-- | item.rhm | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/item.rhm b/item.rhm deleted file mode 100644 index 6716dbc..0000000 --- a/item.rhm +++ /dev/null @@ -1,21 +0,0 @@ -#lang rhombus/static - -export: - Item - Stack - ItemCap - item_get_cap - -enum Item: - bronze_axe - -enum ItemCap: - none - chop - -fun item_get_cap(item :: maybe(Item)) :: ItemCap: - match item: - | Item.bronze_axe: ItemCap.chop - | ~else: ItemCap.none - -class Stack(item :: Item, quantity :: Int) |