home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff74c51
)
Add true yx_tuple:nonneg type, fix MAP command, add yx_tuple:pos.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Jan 2019 23:41:30 +0000
(
00:41
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 19 Jan 2019 23:41:30 +0000
(
00:41
+0100)
game_common.py
patch
|
blob
|
history
diff --git
a/game_common.py
b/game_common.py
index 599e54bcda4c51b936b9dac9ac1d90b03debd8af..1119ce1b4f8b694a6f8a7f5da6b8686d07434752 100644
(file)
--- a/
game_common.py
+++ b/
game_common.py
@@
-85,7
+85,7
@@
class CommonCommandsMixin:
raise ArgError('First map argument must be one of: ' +
', '.join(legal_grids))
self.world.new_map(geometry, yx)
- cmd_MAP.argtypes = 'string yx_tuple:
nonneg
'
+ cmd_MAP.argtypes = 'string yx_tuple:
pos
'
def cmd_THING_TYPE(self, i, type_):
t = self.world.get_thing(i)