def takeActionPlayer(self, player_index, action):
    if (action == ADOPT):
        return self.adopt(player_index)
    elif (action == OVERRIDE):
        return self.override(player_index)
    elif (action == WAIT):
        return self.wait(player_index)
    else:
        raise KeyError('{} is not an action'.format(action))
def takeActionPlayer(self, player_index, action):
    if (action == ADOPT):
        return self.adopt(player_index)
    elif (action == OVERRIDE):
        return self.override(player_index)
    elif (action == WAIT):
        return self.wait(player_index)
    else:
        raise KeyError('{} is not an action'.format(action))