summaryrefslogtreecommitdiff
path: root/src/controller_test.moon
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2025-01-12 22:45:37 -0600
committerAlexander M Pickering <alex@cogarr.net>2025-01-12 22:45:37 -0600
commit90ee66a3a6aae10fd84f3f43844db55229933e37 (patch)
treef723f918871c3296636ef2538a1a29a23050e520 /src/controller_test.moon
parentdecb72f936060a65bff18e9cbf33642ea3a71cd0 (diff)
downloadggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.tar.gz
ggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.tar.bz2
ggj25-90ee66a3a6aae10fd84f3f43844db55229933e37.zip
work
Diffstat (limited to 'src/controller_test.moon')
-rw-r--r--src/controller_test.moon8
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!
+
+