summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jrummikub/model/Position.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/jrummikub/model/Position.java b/src/jrummikub/model/Position.java
new file mode 100644
index 0000000..5c500eb
--- /dev/null
+++ b/src/jrummikub/model/Position.java
@@ -0,0 +1,23 @@
+package jrummikub.model;
+
+public class Position {
+ private float x;
+ private float y;
+
+ public void setY(float y) {
+ this.y = y;
+ }
+
+ public float getY() {
+ return y;
+ }
+
+ public void setX(float x) {
+ this.x = x;
+ }
+
+ public float getX() {
+ return x;
+ }
+
+}