Пример #1
0
 public void move_down(int multiples) {
   location.move_multiples(Field2D.TDOWN, multiples);
 }
Пример #2
0
 public void move_left(int multiples) {
   location.move_multiples(Field2D.TLEFT, multiples);
 }
Пример #3
0
 public void move_right(int multiples) {
   location.move_multiples(Field2D.TRIGHT, multiples);
 }
Пример #4
0
 public void setY(double y) {
   location.setY(y);
 }
Пример #5
0
 public void move_up(int multiples) {
   location.move_multiples(Field2D.TUP, multiples);
 }
Пример #6
0
 public void setX(double x) {
   location.setX(x);
 }
Пример #7
0
 public void setY(Integer y) {
   location.setY(y.intValue());
 }
Пример #8
0
 public double getY() {
   return location.getY();
 }
Пример #9
0
 public void setX(Integer x) {
   location.setX(x.intValue());
 }
Пример #10
0
 public int y() {
   return (int) location.getY();
 }
Пример #11
0
 public int x() {
   return (int) location.getX();
 }
Пример #12
0
 public void setLocation(double x, double y) {
   location.setLocation(x, y);
 }
Пример #13
0
 public void move(double x, double y) {
   location.move(x, y);
 }
Пример #14
0
 public void move(Vector2D vector2D) {
   location.move(vector2D);
 }