diff options
author | Alan Aguiar <alanjas@hotmail.com> | 2013-12-25 16:34:18 (GMT) |
---|---|---|
committer | Alan Aguiar <alanjas@hotmail.com> | 2013-12-25 16:34:18 (GMT) |
commit | 762122d87df2013f1841a5aff2aa2cfd6c76b404 (patch) | |
tree | 1991174f6453d354b483d6ba8294b2d41c95a47c /conozco.py | |
parent | 0f295a9a5f6d3e7913a73cb365a161c3bef4520a (diff) |
works with details
Diffstat (limited to 'conozco.py')
-rwxr-xr-x | conozco.py | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -475,12 +475,11 @@ class Conozco(): t = font.render(text, 1, color) self.pantalla.blit(t, pos) - def update_points(self, data): + def update_points(self, l): self.pantalla.blit(self.fondo, (shift_x, shift_y)) - for p in data: - info = data[p] - name = info[0] - pos = info[1] + for p in l: + name = p[0] + pos = p[1] self.pantalla.blit(self.simboloCiudad, pos) self.showName(name, pos, self.fuente9) |