Package org.box2d.proto
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowSleep()
optional bool allow_sleep = 3;
boolean
getAutoClearForces()
optional bool auto_clear_forces = 4;
Box2D.PbBody
getBodies(int index)
repeated .box2d.PbBody bodies = 20;
int
getBodiesCount()
repeated .box2d.PbBody bodies = 20;
java.util.List<Box2D.PbBody>
getBodiesList()
repeated .box2d.PbBody bodies = 20;
Box2D.PbBodyOrBuilder
getBodiesOrBuilder(int index)
repeated .box2d.PbBody bodies = 20;
java.util.List<? extends Box2D.PbBodyOrBuilder>
getBodiesOrBuilderList()
repeated .box2d.PbBody bodies = 20;
boolean
getContinuousPhysics()
optional bool continuous_physics = 6;
Box2D.PbVec2
getGravity()
optional .box2d.PbVec2 gravity = 2;
Box2D.PbVec2OrBuilder
getGravityOrBuilder()
optional .box2d.PbVec2 gravity = 2;
Box2D.PbJoint
getJoints(int index)
repeated .box2d.PbJoint joints = 21;
int
getJointsCount()
repeated .box2d.PbJoint joints = 21;
java.util.List<Box2D.PbJoint>
getJointsList()
repeated .box2d.PbJoint joints = 21;
Box2D.PbJointOrBuilder
getJointsOrBuilder(int index)
repeated .box2d.PbJoint joints = 21;
java.util.List<? extends Box2D.PbJointOrBuilder>
getJointsOrBuilderList()
repeated .box2d.PbJoint joints = 21;
boolean
getSubStepping()
optional bool sub_stepping = 7;
long
getTag()
optional int64 tag = 1;
boolean
getWarmStarting()
optional bool warm_starting = 5;
boolean
hasAllowSleep()
optional bool allow_sleep = 3;
boolean
hasAutoClearForces()
optional bool auto_clear_forces = 4;
boolean
hasContinuousPhysics()
optional bool continuous_physics = 6;
boolean
hasGravity()
optional .box2d.PbVec2 gravity = 2;
boolean
hasSubStepping()
optional bool sub_stepping = 7;
boolean
hasTag()
optional int64 tag = 1;
boolean
hasWarmStarting()
optional bool warm_starting = 5;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
-
-