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