X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/calendar?a=blobdiff_plain;f=server_%2Fgame.py;h=f596f7bd8ffad7126062f864f90921147be10da2;hb=6c2138deeea000ebb531203445fa22c1f7a6f0da;hp=910d60878c3426ddc7f402b82e847f8d204b5a27;hpb=67d04440308c656f5baed5b96899729fe9bcb1e6;p=plomrogue2-experiments diff --git a/server_/game.py b/server_/game.py index 910d608..f596f7b 100644 --- a/server_/game.py +++ b/server_/game.py @@ -179,7 +179,6 @@ class Thing(game_common.Thing): stencil = self.get_stencil() visible_things = [] for thing in self.world.things: - print('DEBUG .....') width = self.world.map_.size[1] pos_i = thing.position[0] * width + thing.position[1] if stencil.terrain[pos_i] == '.': @@ -187,7 +186,7 @@ class Thing(game_common.Thing): return visible_things -class Commander(): +class Commander(game_common.Commander): def cmd_MOVE(self, direction): """Set player task to 'move' with direction arg, finish player turn."""