brightness = brightness.convert_alpha()
brightness.fill((255, 255, 255, 50))
surface.blit(brightness, (0, 0))
-
+
for turnip in self._turnips:
turnip.render(surface)
self._lights.render_light(surface)
def _update_toolbar(self, gamestate):
text = ("Turnip Stocks: Seeds: %d. Planted: %d. "
- "Harvested: %d. Destroyed: %d" %
+ "Harvested: %d. Destroyed: %d" %
(self._seeds, len(self._turnips),
self._harvested, gamestate.eaten))
self._toolbar = self._toolbar_font.render(text, True, (255, 255, 255))
darkness = darkness.convert_alpha()
darkness.fill((0, 0, 0, 150))
surface.blit(darkness, (0, 0))
-
+
self._mould.render(surface)
for turnip in self._turnips[:]: