Esempio n. 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
Esempio n. 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
Esempio n. 3
0
 def draw_under(self):
     temp = GraphicList()
     temp.set_list(self.under_elements)
     return temp
Esempio n. 4
0
 def draw(self):
     temp = GraphicList()
     temp.set_list(self.top_elements)
     return temp
Esempio n. 5
0
 def draw_under(self):
     temp = GraphicList()
     temp.set_list(self.under_elements)
     return temp
Esempio n. 6
0
 def draw(self):
     temp = GraphicList()
     temp.set_list(self.top_elements)
     return temp
Esempio n. 7
0
 def draw_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp
Esempio n. 8
0
 def draw_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp