示例#1
0
 public void setPosition(Vector p) {
   position.x = p.x;
   position.y = p.y;
 }
示例#2
0
 public void setPosition(double x, double y) {
   position.x = x;
   position.y = y;
 }
示例#3
0
 public Vector getPosition(Vector p) {
   position.x = p.x;
   position.y = p.y;
   return position;
 }