예제 #1
0
 @Override
 public PPWithBody setPosition(Vector2 position) {
   basic.setPosition(position.x, position.y);
   return this;
 }
예제 #2
0
 /**
  * Set the position of the painting polygons and the physics thing if it has a body.
  *
  * @param x coordinate.
  * @param y coordinate.
  * @return this for chaining.
  */
 public PPCircle setPosition(float x, float y) {
   basic.setPosition(x, y);
   return this;
 }