home · contact · privacy
Make some things block movement, and others not.
[plomrogue2] / plomrogue / things.py
index ecddc8767483dd8599b43a373de5392127fc260e..d1fc7110b8bba8ca32baeeb1105d69b4c43c880b 100644 (file)
@@ -17,6 +17,7 @@ class ThingBase:
 
 
 class Thing(ThingBase):
+    blocking = False
 
     def __init__(self, *args, **kwargs):
         super().__init__(*args, **kwargs)
@@ -39,6 +40,7 @@ class Thing_Stone(Thing):
 
 
 class ThingAnimate(Thing):
+    blocking = True
 
     def __init__(self, *args, **kwargs):
         super().__init__(*args, **kwargs)