home · contact · privacy
Remove redundant / doubled code.
[plomrogue2-experiments] / client.py
index b10ba90d22c6f7931a75ce430e16eb54d81bee58..cc0b05c62d340b86e7c77ae96d7cf8307fe8264d 100755 (executable)
--- a/client.py
+++ b/client.py
@@ -4,7 +4,7 @@ import plom_socket_io
 import socket
 import threading
 from parser import ArgError, Parser
-from game import World
+from game_common import World
 
 
 class Thing:
@@ -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)