24 lines
261 B
Java
24 lines
261 B
Java
![]() |
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;
|
||
|
}
|
||
|
|
||
|
}
|