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 Summary
Modifier and TypeMethodDescriptionbooleanoptional bool allow_sleep = 3;booleanoptional bool auto_clear_forces = 4;getBodies(int index) repeated .box2d.PbBody bodies = 20;intrepeated .box2d.PbBody bodies = 20;java.util.List<Box2D.PbBody> repeated .box2d.PbBody bodies = 20;getBodiesOrBuilder(int index) repeated .box2d.PbBody bodies = 20;java.util.List<? extends Box2D.PbBodyOrBuilder> repeated .box2d.PbBody bodies = 20;booleanoptional bool continuous_physics = 6;optional .box2d.PbVec2 gravity = 2;optional .box2d.PbVec2 gravity = 2;getJoints(int index) repeated .box2d.PbJoint joints = 21;intrepeated .box2d.PbJoint joints = 21;java.util.List<Box2D.PbJoint> repeated .box2d.PbJoint joints = 21;getJointsOrBuilder(int index) repeated .box2d.PbJoint joints = 21;java.util.List<? extends Box2D.PbJointOrBuilder> repeated .box2d.PbJoint joints = 21;booleanoptional bool sub_stepping = 7;longgetTag()optional int64 tag = 1;booleanoptional bool warm_starting = 5;booleanoptional bool allow_sleep = 3;booleanoptional bool auto_clear_forces = 4;booleanoptional bool continuous_physics = 6;booleanoptional .box2d.PbVec2 gravity = 2;booleanoptional bool sub_stepping = 7;booleanhasTag()optional int64 tag = 1;booleanoptional bool warm_starting = 5;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
-
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
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
repeated .box2d.PbBody bodies = 20; -
getJointsList
java.util.List<Box2D.PbJoint> getJointsList()repeated .box2d.PbJoint joints = 21; -
getJoints
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
repeated .box2d.PbJoint joints = 21;
-