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:
1d34114
)
Remove redundant / doubled code.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 12 Dec 2018 00:42:29 +0000
(
01:42
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 12 Dec 2018 00:42:29 +0000
(
01:42
+0100)
client.py
patch
|
blob
|
history
diff --git
a/client.py
b/client.py
index fb88c7e7439e99c89d17cdf14523e192d3c79492..cc0b05c62d340b86e7c77ae96d7cf8307fe8264d 100755
(executable)
--- a/
client.py
+++ b/
client.py
@@
-36,11
+36,6
@@
class Game:
t.position = list(yx)
cmd_THING_POS.argtypes = 'int:nonneg yx_tuple:nonneg'
- def cmd_THING_POS(self, i, yx):
- t = self.world.get_thing(i)
- t.position = list(yx)
- cmd_THING_POS.argtypes = 'int:nonneg yx_tuple:nonneg'
-
def cmd_MAP_SIZE(self, yx):
"""Set self.map_size to yx, redraw self.terrain_map as '?' cells."""
self.world.set_map_size(yx)