home · contact · privacy
Refactor.
[plomrogue2-experiments] / server_ / game.py
index 910d60878c3426ddc7f402b82e847f8d204b5a27..f596f7bd8ffad7126062f864f90921147be10da2 100644 (file)
@@ -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."""