Changeset 257:c00022002c63 for nagslang/screens/area.py
- Timestamp:
- Sep 4, 2013, 10:08:58 PM (7 years ago)
- Branch:
- default
- rebase_source:
- 6b2e6c121743107b7233726147853efc6e07de27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/screens/area.py
r256 r257 192 192 def render_health_bar(self, surface): 193 193 rect = pygame.Rect(50, 500, 110, 50) 194 pygame.draw.rect(surface, pygame.color.THECOLORS['white'], 195 rect, 0) 194 pygame.draw.rect(surface, health_box_colour, rect, 0) 196 195 if self.protagonist.in_human_form(): 197 196 health_colour = pygame.color.THECOLORS['red']
Note: See TracChangeset
for help on using the changeset viewer.