diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-03-23 00:17:59 +0000 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-03-23 00:17:59 +0000 |
commit | a2feba2d918db861ea85d22887f73993c173e742 (patch) | |
tree | 7027dc2ded85a2ef0f8982e75099434f68c4a0d8 /item.rhm | |
parent | bca429dd94dafc49cf9134040dfdfb6baf0de10c (diff) |
Reorganize source, create basic threading and server
Need to create main world loop and have it message with web server
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) |