summaryrefslogtreecommitdiff
path: root/adventure/GameObject.py
diff options
context:
space:
mode:
Diffstat (limited to 'adventure/GameObject.py')
-rw-r--r--adventure/GameObject.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/adventure/GameObject.py b/adventure/GameObject.py
new file mode 100644
index 0000000..8fff2a2
--- /dev/null
+++ b/adventure/GameObject.py
@@ -0,0 +1,8 @@
+class GameObject:
+ def __init__(self, name, location, movable, visible, carried, description):
+ self.name = name
+ self.location = location
+ self.movable = movable
+ self.visible = visible
+ self.carried = carried
+ self.description = description