Changeset 203:0a793c4ac341


Ignore:
Timestamp:
04/06/11 20:30:38 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
35643931303137336634623865636434323131323862306237653335353666383163326662356261
Message:

Add default health values

Location:
skaapsteker/sprites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/sprites/base.py

    r202 r203  
    4545        self.floor_rect = Rect(self.collide_rect.topleft, (self.collide_rect.width, 2))
    4646        self._layer = Layers.PLAYER
     47        self.health = 1
     48        self.setup(**opts)
    4749
    4850
  • skaapsteker/sprites/player.py

    r202 r203  
    3737        self._last_collide = []
    3838        self._layer = Layers.PLAYER
     39        self.health = 4
    3940
    4041    def set_image(self):
Note: See TracChangeset for help on using the changeset viewer.