This site requires JavaScript, please enable it in your browser!
Greenfoot back
Prish950
Prish950 wrote ...

2013/5/22

WHICH WORLD IS ACTIVATED???

Prish950 Prish950

2013/5/22

#
Hello, I got a problem with my Greenfoot project. I want to make an if Question that allows me to check wich world is currently activated an after that i want for each three worlds another Background.
 if(getWorld(Level1) = true)
        {
        if(Greenfoot.mouseClicked(this))
        {
            getWorld().setBackground("APFELFRAU.PNG");
        }
        }
Please Help thank you!
You need to login to post a reply.