Example #1
0
File: Body.java Project: rdo/speleo
 /**
  * Apply force to the body
  *
  * @param x The amount of force on the X axis
  * @param y The amount of force on the Y axis
  */
 public void applyForce(float x, float y) {
   checkBody();
   jboxBody.applyForce(new Vec2(x, y), new Vec2(0, 0));
 }