git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@22 72836036-5685-4462-b002-a69064685172
25 lines
340 B
Java
25 lines
340 B
Java
package jrummikub.model;
|
|
|
|
/**
|
|
* {@link Stone} Position class to determine positions on {@link Table} or
|
|
* {@link Hand}
|
|
*/
|
|
|
|
public class Position {
|
|
private float x;
|
|
private float y;
|
|
|
|
public Position(float x, float y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
public float getX() {
|
|
return x;
|
|
}
|
|
|
|
public float getY() {
|
|
return y;
|
|
}
|
|
|
|
}
|