home *** CD-ROM | disk | FTP | other *** search
- #!/usr/bin/env python
- """
- /***************************************************************************
-
- Author :Charles B. Cosse
-
- Email :ccosse@asymptopia.com
-
- Copyright :(C) 2002,2003 Asymptopia Software.
-
- ***************************************************************************/
- /***************************************************************************
- Button.py
-
- ***************************************************************************/
-
- /***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. (Please note that if you use this *
- * code you must give credit by including the Author and Copyright *
- * info at the top of this file). *
- ***************************************************************************/
-
- """
-
- import pygame,os
- from pygame.locals import *
- from myutil import *
-
- class Button(pygame.sprite.Sprite):
- def __init__(self,fname):
- pygame.sprite.Sprite.__init__(self)
- self.image,self.rect=load_image(fname,-1)
-
-