summaryrefslogtreecommitdiff
path: root/src/engine/visual/vector2.js
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-12 13:51:59 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-12 13:51:59 +0100
commiteb460fbb161e76052b7bdd2c57afc65e2e99bc2e (patch)
tree2d8bd718d099a3c9202ac63fb9146754b07e4ef4 /src/engine/visual/vector2.js
parentfa377bcc6d4793dcd79ae5c07a43a1193aa2613a (diff)
place pieces
Diffstat (limited to 'src/engine/visual/vector2.js')
-rw-r--r--src/engine/visual/vector2.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/visual/vector2.js b/src/engine/visual/vector2.js
new file mode 100644
index 0000000..a3a1bc2
--- /dev/null
+++ b/src/engine/visual/vector2.js
@@ -0,0 +1,6 @@
+export class Vector2 {
+ constructor(x, y) {
+ this.x = x
+ this.y = y
+ }
+}