self._image.convert_alpha(pygame.display.get_surface())
self._image.fill((0, 0, 0, 0))
self._image.blit(seed.get_image(),
- seed.pygame_pos(self._image), None, pgl.BLEND_RGBA_ADD)
+ seed.pygame_pos(self._image), None,
+ pgl.BLEND_RGBA_ADD)
def tick(self, gamestate, space, lights):
redraw = False
self._image.fill((0, 0, 0, 0))
for mould in self._moulds:
self._image.blit(mould.get_image(),
- mould.pygame_pos(self._image), None, pgl.BLEND_RGBA_ADD)
+ mould.pygame_pos(self._image), None,
+ pgl.BLEND_RGBA_ADD)
def render(self, surface):
"""Draw ourselves"""