Changeset 324:ca428c1451a2


Ignore:
Timestamp:
04/08/11 23:08:55 (12 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Phase:
public
Rebase:
39323534343030353532313361376338323464343434663434653532666335323066363464613966
Message:

Hook up drawing tofu and scroll counts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skaapsteker/levelscene.py

    r318 r324  
    212212            self._level_surface.blit(self._tail, tail_pos)
    213213
     214        # Draw scroll count
     215
     216        pos = self._clip_rect.right - 20, self._clip_rect.top + 225
     217        count = Text("%s" % fox.scrolls, pos)
     218        count.draw(self._level_surface)
     219        pos = self._clip_rect.right - 55, self._clip_rect.top + 220
     220        self._level_surface.blit(self._scroll, pos)
     221
     222        # Draw tofu count
     223        pos = self._clip_rect.right - 20, self._clip_rect.top + 255
     224        count = Text("%s" % fox.tofu, pos)
     225        count.draw(self._level_surface)
     226        pos = self._clip_rect.right - 55, self._clip_rect.top + 250
     227        self._level_surface.blit(self._tofu, pos)
     228
     229
    214230
    215231    def _update_clip_rect(self):
Note: See TracChangeset for help on using the changeset viewer.