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] == '.':
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."""