home · contact · privacy
Remove redundant / doubled code.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 12 Dec 2018 00:42:29 +0000 (01:42 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 12 Dec 2018 00:42:29 +0000 (01:42 +0100)
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)