summaryrefslogtreecommitdiff
path: root/net/item.py
diff options
context:
space:
mode:
Diffstat (limited to 'net/item.py')
-rw-r--r--net/item.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/item.py b/net/item.py
new file mode 100644
index 0000000..f82fa77
--- /dev/null
+++ b/net/item.py
@@ -0,0 +1,8 @@
+
+class FloorItem:
+ def __init__(self, obj_id, item_type, amount, x, y):
+ self.id = obj_id
+ self.type = item_type
+ self.amount = amount
+ self.x = x
+ self.y = y