i have a class that displays 1 of 3 images depending on how many lives the player has between 1 and 3.
the lives value and the getLives method (return lives) are both in mover.
in the health class i have...
public Health ()
{
if (lives==1)
{
setImage("Lives1.png");
getImage().scale(150, 50);
}
if(lives==2)
{
setImage("Lives2.png");
getImage().scale(150, 50);
}
if(lives==3)
{
setImage("Lives3.png");
getImage().scale(150, 50);
}
}
but whenever i pick up the item that adds lives, my players lives go up but the image dosnt change and i dont know how to reffer to the players lives count, please help.

