Mercurial > boomslang
diff pyntnclick/endscreen.py @ 587:f20d211d2c91 pyntnclick
load_image() -> get_image() and more docs.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 11 Feb 2012 17:02:26 +0200 |
parents | cf65e91b30b1 |
children |
line wrap: on
line diff
--- a/pyntnclick/endscreen.py Sat Feb 11 16:56:01 2012 +0200 +++ b/pyntnclick/endscreen.py Sat Feb 11 17:02:26 2012 +0200 @@ -15,7 +15,7 @@ class EndScreen(Screen): def __init__(self, shell, game_description): Screen.__init__(self, shell) - self.background = game_description.resource.load_image( + self.background = game_description.resource.get_image( ('won', 'won.png')) self._menu_button = EndImageButton('menu.png', 26, 500, action=self.main_menu)