Hey everyone,
This is my button:
public class Uitleg extends Actor { public int Uitleg; public void act() { setUitleg();// Add your action code here. } public void setUitleg() { if (Greenfoot.mouseClicked(this)) { Greenfoot.setWorld(new world(Uitleg)); } } }
Whenever i click on it i want it to go to a different world called tutorial..
I tried Greenfoot.setWorld(new tutorial(Uitleg));
But that didnt work..
Help!!
I made a subclass of world.. but then It gives me an error at the Super(80,80,10)...
It says INT not found or something