Ignore:
Timestamp:
09/03/13 19:47:24 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Message:

Overlay notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r190 r191  
    111111
    112112    def add_game_objects(self):
    113         for drawable in self._level.get_drawables():
     113        for drawable in self._level.drawables:
    114114            self._drawables.add(drawable)
    115115
     
    169169        render_rect = self._calc_viewport(mysurface, surface)
    170170        surface.blit(mysurface, (0, 0), render_rect)
     171        for overlay in self._level.overlay_drawables:
     172            if overlay.is_visible():
     173                overlay.render(surface)
    171174
    172175    def tick_protagonist(self):
Note: See TracChangeset for help on using the changeset viewer.