package greenfoot.event;
import threadchecker.OnThread;
import threadchecker.Tag;
import java.util.EventListener;
| Listener to receive notifcations when worlds are created and removed. All methods are called
| on the simulation thread.
|
| @author Poul Henriksen
|
public interface WorldListener
extends EventListener{
| Called when a new world is created and shown.
|
@OnThread(Tag.Simulation)
public void worldCreated(WorldEvent e);
| Called when a world is removed.
|
@OnThread(Tag.Simulation)
public void worldRemoved(WorldEvent e);
}
top,
use,
map,
interface WorldListener
. worldCreated
. worldRemoved
16 neLoCode
+ 5 LoComm