99100101102103104105106
} public void addGround(Shape shape, double elasticity) { ground.add(shape); Body body = jbox2dWorld.getGroundBody(); ShapeDef def = AbstractWorldObject.translateShape(shape, elasticity); body.createShape(def); }