From 8471bb03a99370abe0f49a631c4862d13bfa68c3 Mon Sep 17 00:00:00 2001 From: fdai7012 Date: Wed, 17 Jan 2024 16:14:17 +0100 Subject: [PATCH] Added Vector2 --- src/main/java/pacmanGame/Vector2.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main/java/pacmanGame/Vector2.java diff --git a/src/main/java/pacmanGame/Vector2.java b/src/main/java/pacmanGame/Vector2.java new file mode 100644 index 0000000..5f7811d --- /dev/null +++ b/src/main/java/pacmanGame/Vector2.java @@ -0,0 +1,11 @@ +package pacmanGame; + +public class Vector2 { + public int x; + public int y; + + public Vector2(int x, int y) { + this.x = x; + this.y = y; + } +}