I bet it's simple but im having trouble in printing my player's hp in the world...
I have the method that returns the player hp in the player class:
And I want to call that method in the world and print it for example in the middle, by the way the hp isnt allways the same.
Appreciate any help.
public int getHp()
{
return hp;
}

