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_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp
Esempio n. 4
0
 def draw_ground(self):
     temp = GraphicList()
     temp.add(self.ground)
     return temp