Table of Contents
Chapter Index
Previous Slide
Next Slide
429
Shutting down a program script
Writing program scripts with Java
Shutting down a program script
The optional
shutdown
method is called when the script is unloaded
public void shutdown ( ) { . . . }
Shutdown occurs when:
the
Script
node is deleted
the browser loads a new world