Пример #1
0
 def draw_sprites(self):
     temp = GraphicList()
     for x in xrange(self.w):
         for y in xrange(self.h):
             if self.grid[self.w - x - 1][self.h - y - 1]:
                 temp.add(self.grid[self.w - x - 1][self.h - y - 1])
     return temp
Пример #2
0
 def draw_sprites(self):
     temp = GraphicList()
     for x in xrange(self.w):
         for y in xrange(self.h):
             if self.grid[self.w-x-1][self.h-y-1]:
                 temp.add(self.grid[self.w-x-1][self.h-y-1])
     return temp
Пример #3
0
 def draw_under(self):
     temp = GraphicList()
     temp.set_list(self.under_elements)
     return temp
Пример #4
0
 def draw(self):
     temp = GraphicList()
     temp.set_list(self.top_elements)
     return temp
Пример #5
0
 def draw_under(self):
     temp = GraphicList()
     temp.set_list(self.under_elements)
     return temp
Пример #6
0
 def draw(self):
     temp = GraphicList()
     temp.set_list(self.top_elements)
     return temp
Пример #7
0
 def draw_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp
Пример #8
0
 def draw_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp