home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make some things block movement, and others not.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index ecddc8767483dd8599b43a373de5392127fc260e..d1fc7110b8bba8ca32baeeb1105d69b4c43c880b 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-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)