15 lines
232 B
Plaintext
15 lines
232 B
Plaintext
import standard;
|
|
|
|
//root node can load the whole scene, and essentially act as the scene object
|
|
fn onInit() {
|
|
print "root.toy:onInit() called";
|
|
}
|
|
|
|
fn onStep() {
|
|
print clock();
|
|
}
|
|
|
|
fn onFree() {
|
|
print "root.toy:onFree() called";
|
|
}
|