Package com.badlogic.gdx.physics.box2d

Examples of com.badlogic.gdx.physics.box2d.ChainShape.dispose()


        new Vector2(-halfWidth, viewportHeight) });
    BodyDef chainBodyDef = new BodyDef();
    chainBodyDef.type = BodyType.StaticBody;
    groundBody = world.createBody(chainBodyDef);
    groundBody.createFixture(chainShape, 0);
    chainShape.dispose();
    createBoxes();
  }

  private void createBoxes() {
    CircleShape ballShape = new CircleShape();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.