comparison pyntnclick/scenewidgets.py @ 617:ecde1d6bdda0 pyntnclick

Correct fake get_image
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 11 Feb 2012 21:40:01 +0200
parents 44d4e3020874
children 8a4d92c17603
comparison
equal deleted inserted replaced
616:25f3adbff00a 617:ecde1d6bdda0
8 8
9 from pyntnclick.state import Thing 9 from pyntnclick.state import Thing
10 from pyntnclick.widgets import BoomLabel 10 from pyntnclick.widgets import BoomLabel
11 11
12 # XXX: Needs a way to get at resource: 12 # XXX: Needs a way to get at resource:
13 from pyntinclick.resource import Resource 13 from pyntnclick.resources import Resources
14 get_image = Resource().get_image 14 get_image = Resources("Resources").get_image
15 15
16 16
17 class Interact(object): 17 class Interact(object):
18 18
19 def __init__(self, image, rect, interact_rect): 19 def __init__(self, image, rect, interact_rect):