So ive tried to set a game over screen tho i kinda cant get it to work :(
Does anybody got any suggestions on what i could do?
public void act() { if (getObjects(Bacteria.class).isEmpty()) Greenfoot.stop(); if(Greenfoot.stop())Greenfoot.setWorld(new GameOverScreen()); }