diff pyntnclick/cursor.py @ 636:2748d3afcae5 pyntnclick

Excise albow. Really.
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 12 Feb 2012 00:10:17 +0200
parents 3ce19d33b51f
children 2703924c8c70
line wrap: on
line diff
--- a/pyntnclick/cursor.py	Sun Feb 12 00:01:03 2012 +0200
+++ b/pyntnclick/cursor.py	Sun Feb 12 00:10:17 2012 +0200
@@ -2,8 +2,6 @@
 # Copyright Boomslang team, 2010 (see COPYING File)
 # Sprite Cursor
 
-from albow.resource import get_image
-from albow.widget import Widget
 from pygame.sprite import Sprite, RenderUpdates
 from pygame.rect import Rect
 import pygame
@@ -11,9 +9,14 @@
 import pygame.cursors
 import pygame.mouse
 
+from pyntnclick.widgets.base import Widget
+
 # XXX: Need a way to get at the constants
 from pyntnclick.constants import GameConstants
 SCENE_SIZE = GameConstants().scene_size
+# XXX: Needs a way to get at resource:
+from pyntnclick.resources import Resources
+get_image = Resources("Resources").get_image
 
 
 class CursorSprite(Sprite):