Mercurial > boomslang
comparison pyntnclick/scenewidgets.py @ 613:44d4e3020874 pyntnclick
Remove a lot of albow
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 11 Feb 2012 21:18:41 +0200 |
parents | 356795038b87 |
children | ecde1d6bdda0 |
comparison
equal
deleted
inserted
replaced
612:cfc16ded7b34 | 613:44d4e3020874 |
---|---|
3 | 3 |
4 from pygame import Rect | 4 from pygame import Rect |
5 from pygame.color import Color | 5 from pygame.color import Color |
6 from pygame.colordict import THECOLORS | 6 from pygame.colordict import THECOLORS |
7 from pygame.surface import Surface | 7 from pygame.surface import Surface |
8 from albow.resource import get_image | |
9 | 8 |
10 from pyntnclick.state import Thing | 9 from pyntnclick.state import Thing |
11 from pyntnclick.widgets import BoomLabel | 10 from pyntnclick.widgets import BoomLabel |
11 | |
12 # XXX: Needs a way to get at resource: | |
13 from pyntinclick.resource import Resource | |
14 get_image = Resource().get_image | |
12 | 15 |
13 | 16 |
14 class Interact(object): | 17 class Interact(object): |
15 | 18 |
16 def __init__(self, image, rect, interact_rect): | 19 def __init__(self, image, rect, interact_rect): |