UUpdate Tutorials

This commit is contained in:
2026-10-25 12:43:53 -07:00
commit cd94bb4ba8
32 changed files with 1077 additions and 0 deletions

View File

@ -0,0 +1,15 @@
package lnx;
class Player1Fire extends iron.Trait {
public function new() {
super();
notifyOnUpdate(function() {
var keyboard = iron.system.Input.getKeyboard();
if (keyboard.started("m")) {
object.getTrait(FireTrait).fire();
}
});
}
}