illume  committed 0ace6ee

changed it so that pygame.Mask is there... and not in locals.

  • Participants
  • Parent commits 953eedb
  • Branches default

Comments (0)

Files changed (2)

File lib/

 try: import pygame.sprite
 except (ImportError,IOError), msg:sprite=MissingModule("sprite", msg, 1)
 try: from pygame.surface import *
 except (ImportError,IOError):Surface = lambda:Missing_Function
+try: from pygame.mask import *
+except (ImportError,IOError):Mask = lambda:Missing_Function
 try: from pygame.overlay import *
 except (ImportError,IOError):Overlay = lambda:Missing_Function

File lib/

 from pygame.rect import Rect
 import pygame.color as color
 Color = color.Color
-import pygame.mask
-Mask = pygame.mask.Mask