public class Player { private int health; public int getHealth() { return health; } public void setHealth(int h) { health = h; } }