From ff8ca69ac522a0a26f5311981dfa6d9394bf0e68 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Sat, 19 Apr 2008 20:18:25 +0000 Subject: Removed the remaining abspath() calls and wildcard import of pygame locals --- (limited to 'Gambiarra/levels.py') diff --git a/Gambiarra/levels.py b/Gambiarra/levels.py index 72a4951..9d16bd2 100644 --- a/Gambiarra/levels.py +++ b/Gambiarra/levels.py @@ -20,7 +20,6 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. import pygame -from pygame.locals import * import os @@ -151,7 +150,7 @@ class Level(object): pygame.display.flip() while True: for event in pygame.event.get(): - if event.type == MOUSEBUTTONDOWN: + if event.type == pygame.MOUSEBUTTONDOWN: return def init_levels(): -- cgit v0.9.1