Started working on engine nodes

This commit is contained in:
2022-10-02 05:42:45 +01:00
parent 50aef00ec0
commit 7e1612d915
12 changed files with 365 additions and 19 deletions

View File

@@ -0,0 +1,14 @@
var tally: int = 0;
fn onInit() {
print "child init called";
}
fn onStep() {
print "child step called";
print ++tally;
}
fn onFree() {
print "child free called";
}

View File

@@ -0,0 +1,11 @@
fn onInit() {
print "init called";
}
fn onStep() {
print "step called";
}
fn onFree() {
print "free called";
}