i have world "background". I want change the world to "level2". i use
Greenfoot.setWorld(new level2());. it work, the world is changing. but
when i want to add actor in level2, i have error message . "level2 cannot be cast to background"
level2 lvl2 = new level2(); (background)lvl2... //You cannot do this!