width = self.world.map_.size[1]
pos_i = thing.position[0] * width + thing.position[1]
if stencil.terrain[pos_i] == '.':
width = self.world.map_.size[1]
pos_i = thing.position[0] * width + thing.position[1]
if stencil.terrain[pos_i] == '.':
def cmd_MOVE(self, direction):
"""Set player task to 'move' with direction arg, finish player turn."""
def cmd_MOVE(self, direction):
"""Set player task to 'move' with direction arg, finish player turn."""