summaryrefslogtreecommitdiff
path: root/src/components/position.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/position.js')
-rw-r--r--src/components/position.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/position.js b/src/components/position.js
new file mode 100644
index 0000000..072a1a6
--- /dev/null
+++ b/src/components/position.js
@@ -0,0 +1 @@
+game.components.Position = ({x, y}) => game.Component('position', {x, y}) \ No newline at end of file