public Player(String name, World i) {
        this.name = name;
        this.currentworld = i;
        int x = (LostAdventure.screenwidth/2)-320;
        int y = -(i.getHeight()*i.getBlocksize()/2)+(LostAdventure.screenheight/2)+22;
        this.location = new Location(currentworld,x,y);
        System.out.println("Selected player=" + this.name + " on position x=" + location.getX() + " y=" + location.getY());
    }