def _move_hero_to(self, destination, break_at=None): from the_tale.game.actions.prototypes import ActionMoveToPrototype if self.hero.position.is_walking: self._move_hero_near(destination=None, back=True) return ActionMoveToPrototype.create(hero=self.hero, destination=destination, break_at=break_at)
def process_action(self): ActionMoveToPrototype.create(hero=self.hero, destination=place)