Ignore:
Timestamp:
09/01/13 16:39:37 (9 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Message:

Draw all the walls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/level.py

    r50 r53  
    55
    66POLY_COLORS = {
    7         1: pygame.color.THECOLORS['red'],
    8         2: pygame.color.THECOLORS['green'],
    9         3: pygame.color.THECOLORS['yellow'],
    10         4: pygame.color.THECOLORS['blue'],
    11         5: pygame.color.THECOLORS['lightblue'],
    12         6: pygame.color.THECOLORS['magenta']
    13         }
     7    1: pygame.color.THECOLORS['red'],
     8    2: pygame.color.THECOLORS['green'],
     9    3: pygame.color.THECOLORS['yellow'],
     10    4: pygame.color.THECOLORS['blue'],
     11    5: pygame.color.THECOLORS['lightblue'],
     12    6: pygame.color.THECOLORS['magenta'],
     13}
    1414
    1515
     
    7777
    7878    def get_walls(self):
    79         return self.polygons[1]
     79        return self.polygons.values()
    8080
    8181    def _draw_walls(self):
Note: See TracChangeset for help on using the changeset viewer.