public void movePlayer(Point dir) {
        Point destination = Point.add(player.world_position, dir);
        int moveprior = Move.rate(destination);
        int attackprior = Attack.rate(destination);
        int entprior = Activate.rate(destination);
        double ap_val = 0;
        if (moveprior > attackprior && moveprior > entprior) {
            if (moveprior != 0) {
                Move.execute(player);
                ap_val = player.characterSheet.speed;

            }
        } else if (attackprior > moveprior && attackprior > entprior) {
            Attack.executePlayer();
            ap_val = player.characterSheet.equiped_weapon.getSpeed();
        } else if (entprior > 0) {
            Activate.executePlayer();
            ap_val = 1.0;
        }
        game.actorHandler.run_turn = true;
        game.gameLogic.performedAction(ap_val);


    }