diff options
Diffstat (limited to 'Gambiarra/command.py')
-rw-r--r-- | Gambiarra/command.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/Gambiarra/command.py b/Gambiarra/command.py index 2310c95..694f251 100644 --- a/Gambiarra/command.py +++ b/Gambiarra/command.py @@ -19,8 +19,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -from os.path import abspath - import pygame class Command(pygame.sprite.Sprite): @@ -38,15 +36,15 @@ class Command(pygame.sprite.Sprite): class Play(Command): def __init__(self): - super(Play, self).__init__( pygame.image.load( - abspath("data/images/playButton.png") ) ) + Command.__init__(self, + pygame.image.load("data/images/playButton.png") ) class Help(Command): def __init__(self): - super(Help, self).__init__( pygame.image.load( - abspath("data/images/helpButton.png") ) ) + Command.__init__(self, + pygame.image.load("data/images/helpButton.png") ) class Quit(Command): def __init__(self): - super(Quit, self).__init__( pygame.image.load( - abspath("data/images/quitButton.png") ) ) + Command.__init__(self, + pygame.image.load("data/images/quitButton.png") ) |