mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
20 lines
178 B
Java
20 lines
178 B
Java
|
|
class Pos {
|
|
|
|
int x = 0;
|
|
int y = 0;
|
|
|
|
int getX() {
|
|
return(x);
|
|
}
|
|
|
|
int getY() {
|
|
return(y);
|
|
}
|
|
|
|
void move(int newX, int newY) {
|
|
x=newX;
|
|
y=newY;
|
|
}
|
|
}
|