How can I make it when my bubble class is at the bottom of the world the Background changes and a picture appears(My gameover picture)?
if (bubble reaches bottom) //code is already in the Bubble act method
{
//code to change background or world
}