summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-02 18:37:36 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-02 18:37:36 -0600
commitaef3c05bc7f3feba7832078aa1cb4bd96c52c1dd (patch)
tree72a5db540a03fe8207e26ee55b64163fe84a8215 /src/components
parent61c835723a685121316b196fb6f49ab10c92c240 (diff)
downloadbbiy-aef3c05bc7f3feba7832078aa1cb4bd96c52c1dd.tar.gz
bbiy-aef3c05bc7f3feba7832078aa1cb4bd96c52c1dd.zip
Simple controlling system
Diffstat (limited to 'src/components')
-rw-r--r--src/components/controllable.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/controllable.js b/src/components/controllable.js
new file mode 100644
index 0000000..84b05ee
--- /dev/null
+++ b/src/components/controllable.js
@@ -0,0 +1 @@
+game.components.Controllable = ({ controls }) => game.Component('controllable', { controls }); \ No newline at end of file