This commit is contained in:
2026-05-06 17:52:45 -07:00
parent 9fc3f35125
commit 1463c23334
402 changed files with 3758 additions and 0 deletions

View File

@ -0,0 +1,14 @@
package lnx;
class Config extends iron.Trait {
@prop public var speed:Float = 0.1;
@prop public var text:String;
public static var inst:Config = null;
public function new() {
super();
inst = this;
}
}

View File

@ -0,0 +1,12 @@
package lnx;
class ReadConfig extends iron.Trait {
public function new() {
super();
notifyOnInit(function() {
var c = Config.inst;
trace("Text is: " + c.text + ", speed is: " + c.speed);
});
}
}