Interface Box2D.PbWorldOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Box2D.PbWorld, Box2D.PbWorld.Builder
Enclosing class:
Box2D

public static interface Box2D.PbWorldOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasTag

      boolean hasTag()
      optional int64 tag = 1;
      Returns:
      Whether the tag field is set.
    • getTag

      long getTag()
      optional int64 tag = 1;
      Returns:
      The tag.
    • hasGravity

      boolean hasGravity()
      optional .box2d.PbVec2 gravity = 2;
      Returns:
      Whether the gravity field is set.
    • getGravity

      Box2D.PbVec2 getGravity()
      optional .box2d.PbVec2 gravity = 2;
      Returns:
      The gravity.
    • getGravityOrBuilder

      Box2D.PbVec2OrBuilder getGravityOrBuilder()
      optional .box2d.PbVec2 gravity = 2;
    • hasAllowSleep

      boolean hasAllowSleep()
      optional bool allow_sleep = 3;
      Returns:
      Whether the allowSleep field is set.
    • getAllowSleep

      boolean getAllowSleep()
      optional bool allow_sleep = 3;
      Returns:
      The allowSleep.
    • hasAutoClearForces

      boolean hasAutoClearForces()
      optional bool auto_clear_forces = 4;
      Returns:
      Whether the autoClearForces field is set.
    • getAutoClearForces

      boolean getAutoClearForces()
      optional bool auto_clear_forces = 4;
      Returns:
      The autoClearForces.
    • hasWarmStarting

      boolean hasWarmStarting()
      optional bool warm_starting = 5;
      Returns:
      Whether the warmStarting field is set.
    • getWarmStarting

      boolean getWarmStarting()
      optional bool warm_starting = 5;
      Returns:
      The warmStarting.
    • hasContinuousPhysics

      boolean hasContinuousPhysics()
      optional bool continuous_physics = 6;
      Returns:
      Whether the continuousPhysics field is set.
    • getContinuousPhysics

      boolean getContinuousPhysics()
      optional bool continuous_physics = 6;
      Returns:
      The continuousPhysics.
    • hasSubStepping

      boolean hasSubStepping()
      optional bool sub_stepping = 7;
      Returns:
      Whether the subStepping field is set.
    • getSubStepping

      boolean getSubStepping()
      optional bool sub_stepping = 7;
      Returns:
      The subStepping.
    • getBodiesList

      java.util.List<Box2D.PbBody> getBodiesList()
      repeated .box2d.PbBody bodies = 20;
    • getBodies

      Box2D.PbBody getBodies(int index)
      repeated .box2d.PbBody bodies = 20;
    • getBodiesCount

      int getBodiesCount()
      repeated .box2d.PbBody bodies = 20;
    • getBodiesOrBuilderList

      java.util.List<? extends Box2D.PbBodyOrBuilder> getBodiesOrBuilderList()
      repeated .box2d.PbBody bodies = 20;
    • getBodiesOrBuilder

      Box2D.PbBodyOrBuilder getBodiesOrBuilder(int index)
      repeated .box2d.PbBody bodies = 20;
    • getJointsList

      java.util.List<Box2D.PbJoint> getJointsList()
      repeated .box2d.PbJoint joints = 21;
    • getJoints

      Box2D.PbJoint getJoints(int index)
      repeated .box2d.PbJoint joints = 21;
    • getJointsCount

      int getJointsCount()
      repeated .box2d.PbJoint joints = 21;
    • getJointsOrBuilderList

      java.util.List<? extends Box2D.PbJointOrBuilder> getJointsOrBuilderList()
      repeated .box2d.PbJoint joints = 21;
    • getJointsOrBuilder

      Box2D.PbJointOrBuilder getJointsOrBuilder(int index)
      repeated .box2d.PbJoint joints = 21;