Ignore:
Timestamp:
09/04/13 20:07:20 (8 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Children:
239:30137dc83a72, 244:93a20b51963f
Phase:
public
Message:

Add a world object to collect some stats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r211 r238  
    127127            if ev.key == pygame.locals.K_c:
    128128                self.protagonist.toggle_form()
     129                self.world.transformations += 1
    129130        elif DoorEvent.matches(ev):
    130131            self.protagonist.set_position(ev.dest_pos)
     
    132133                # Go to anther screen
    133134                self._disable_render = True
     135                self.world.rooms += 1
    134136                ScreenChange.post(ev.destination, self.protagonist)
    135137                return
Note: See TracChangeset for help on using the changeset viewer.