i would like to know if i can do that by putting a button to restart if you die (only showing the message "gameover, press x to restart" or i have to create another subclass with a gameover screen
Actor buzz;
buzz = getOneIntersectingObject(buzz.class);
if(buzz!= null)
{
World Mundo1;
Mundo1 = getWorld();
Mundo1.removeObject(buzz);
}