Changeset 180:026297a03963 for nagslang/game_object.py
- Timestamp:
- 09/03/13 14:58:45 (9 years ago)
- Branch:
- default
- Phase:
- public
- Rebase:
- 36616364363066663031393763616436626334636264353230353363646637376262616364306264
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nagslang/game_object.py
r176 r180 10 10 from nagslang.options import options 11 11 from nagslang.resources import resources 12 from nagslang.events import ScreenChange12 from nagslang.events import DoorEvent 13 13 14 14 … … 407 407 if shape.collision_type == COLLISION_TYPE_PLAYER: 408 408 # Force to new position 409 shape.body.position = self.dest_pos 410 ScreenChange.post(self.destination) 409 DoorEvent.post(self.destination, self.dest_pos)
Note:
See TracChangeset
for help on using the changeset viewer.