# Path: characters/actions.py
# def attack(attacker, target, console):
# def move(actor, dx, dy):
# def distance_to(actor, target):
# def move_or_attack(character, target_x, target_y, console):
# def move_towards(actor, target):
# def monster_take_turn(monster, player, console):
# def get_item(character, item, tile_x, tile_y):


from characters import actions


class ActionManager(object):
    def __init__(self, action_log_console):
        self.action_log_console = action_log_console

    def move_or_attack(self, player, key_x, key_y):
        actions.move_or_attack(player, key_x, key_y, self.action_log_console)

    def monster_take_turn(self, monster, player):

# Path: characters/actions.py
# def attack(attacker, target, console):
# def move(actor, dx, dy):
# def distance_to(actor, target):
# def move_or_attack(character, target_x, target_y, console):
# def move_towards(actor, target):
# def monster_take_turn(monster, player, console):
# def get_item(character, item, tile_x, tile_y):


# Path: managers/action_manager.py
from characters import actions



class ActionManager(object):
    def __init__(self, action_log_console):
        self.action_log_console = action_log_console

    def move_or_attack(self, player, key_x, key_y):
        actions.move_or_attack(player, key_x, key_y, self.action_log_console)

    def monster_take_turn(self, monster, player):

        actions.monster_take_turn(monster, player, self.action_log_console)