Changeset 238:28d906fc2ab1 for nagslang/screens/area.py
- Timestamp:
- 09/04/13 20:07:20 (9 years ago)
- Branch:
- default
- Children:
- 239:30137dc83a72, 244:93a20b51963f
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/screens/area.py
r211 r238 127 127 if ev.key == pygame.locals.K_c: 128 128 self.protagonist.toggle_form() 129 self.world.transformations += 1 129 130 elif DoorEvent.matches(ev): 130 131 self.protagonist.set_position(ev.dest_pos) … … 132 133 # Go to anther screen 133 134 self._disable_render = True 135 self.world.rooms += 1 134 136 ScreenChange.post(ev.destination, self.protagonist) 135 137 return
Note:
See TracChangeset
for help on using the changeset viewer.