Im trying to make the screen change when the actor "dies" but its making my greenfoot crash, any advice?


public class dead_lol extends World { /** * Constructor for objects of class dead_lol. * */ public dead_lol() { // Create a new world with 600x400 cells with a cell size of 1x1 pixels. super(600, 400, 1); } }