summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
authorIda Massow <massow@informatik.uni-luebeck.de>2011-04-30 13:20:02 +0200
committerIda Massow <massow@informatik.uni-luebeck.de>2011-04-30 13:20:02 +0200
commita601d484a2dad03e35110db6b67536692c125239 (patch)
treec95954375e3fc99edc588f72fca2b5c7c2384412 /src/jrummikub/model
parent96cb7454884ed896c0e3305e86212a5c01240d5f (diff)
downloadJRummikub-a601d484a2dad03e35110db6b67536692c125239.tar
JRummikub-a601d484a2dad03e35110db6b67536692c125239.zip
Fertige Positions-Klasse
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@18 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/model')
-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;
+ }
+
+}