comparison pyntnclick/gamescreen.py @ 625:85153f422522 pyntnclick

Differently yuck get_image().
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 11 Feb 2012 22:00:50 +0200
parents 1c5ef1e02e30
children cc1085432faf
comparison
equal deleted inserted replaced
624:1c5ef1e02e30 625:85153f422522
262 262
263 class DefEndScreen(Screen): 263 class DefEndScreen(Screen):
264 """A placeholder 'Game Over' screen so people can get started easily""" 264 """A placeholder 'Game Over' screen so people can get started easily"""
265 265
266 def setup(self): 266 def setup(self):
267 self.background = self.resource.get_image(('pyntnclick', 'end.png')) 267 self.background = self.resource.get_image('pyntnclick/end.png')
268 268
269 def draw(self, surface): 269 def draw(self, surface):
270 surface.blit(self.background, (0, 0)) 270 surface.blit(self.background, (0, 0))
271 271
272 272
273 class DefMenuScreen(Screen): 273 class DefMenuScreen(Screen):
274 """A placeholder Start screen so people can get started easily""" 274 """A placeholder Start screen so people can get started easily"""
275 275
276 def setup(self): 276 def setup(self):
277 self.background = self.resource.get_image(('pyntnclick', 'start.png')) 277 self.background = self.resource.get_image('pyntnclick/start.png')
278 278
279 def draw(self, surface): 279 def draw(self, surface):
280 surface.blit(self.background, (0, 0)) 280 surface.blit(self.background, (0, 0))