~rick-rickspencer3/pygame-template/trunk

« back to all changes in this revision

Viewing changes to crashteroids/bullet.py

  • Committer: Rick Spencer
  • Date: 2010-03-07 00:17:48 UTC
  • Revision ID: rick.spencer@canonical.com-20100307001748-dh8grxsuakbu4cu1
lots of renaming of camelCase names, and indented and documented baseSprite.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
  self.ticks = 0
24
24
  self.exploding = False
25
25
  self.explodestage = 0
26
 
  self.updateImage()
 
26
  self.update_image()
27
27
  
28
28
 def update(self):
29
29
  BaseSprite.update(self)
36
36
   if e < 5:
37
37
    e = str(e)
38
38
    self.masterImage = pygame.image.load(crashteroidsconfig.bullet_explode_stage + e  + ".png")
39
 
    self.updateImage()
 
39
    self.update_image()
40
40
   else:
41
41
    self.kill()
42
42