- return True
- action.perform_action(self.state.gameboard, self.card)
- self.state.gameboard.change_mode()
- InvalidateTheWorld.post()
- return True
- if ev.key in (pgl.K_UP, pgl.K_w, pgl.K_COMMA):
+ else:
+ action.perform_action(self.state.gameboard, self.card)
+ self.state.gameboard.replace_card(player.position)
+ self.state.gameboard.change_mode()
+ return finish_event()
+ if ev.key in KEYS.UP: