From: Christian Heller Date: Wed, 12 Dec 2018 00:42:29 +0000 (+0100) Subject: Remove redundant / doubled code. X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=58bc83540a246dd760f4cf38fcd8509b05b11093;p=plomrogue2-experiments Remove redundant / doubled code. --- diff --git a/client.py b/client.py index fb88c7e..cc0b05c 100755 --- 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)