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,24 @@
package lnx;
class PinTrait extends iron.Trait {
public static var pinsRemoved = 0;
public function new() {
super();
pinsRemoved = 0;
notifyOnUpdate(function() {
if (object.transform.loc.z < - 20) {
object.remove();
if (++pinsRemoved >= 10) {
leenkx.system.Event.send("exit");
}
}
});
}
}