diff options
Diffstat (limited to 'src/controller_test.moon')
| -rw-r--r-- | src/controller_test.moon | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controller_test.moon b/src/controller_test.moon new file mode 100644 index 0000000..45d1dcb --- /dev/null +++ b/src/controller_test.moon @@ -0,0 +1,8 @@ +controller = require("controller") +ui = require("ui") + +button = ui.button(0,0,100,100,"pump") +button.on = () => + controller.pump! + + |
