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