Package org.jbox2d.serialization
Interface JbSerializer.ObjectSigner
-
- All Known Implementing Classes:
ApplyForce
,BlobTest4
,BodyTypes
,Breakable
,Cantilever
,Car
,Chain
,CharacterCollision
,CircleStress
,CollisionFiltering
,CollisionProcessing
,CompoundShapes
,ConfinedTest
,ContinuousTest
,ConvexHull
,ConveyorBelt
,DistanceTest
,DominoTest
,DominoTower
,DynamicTreeTest
,EdgeShapes
,FixedPendulumTest
,FreePendulumTest
,Gears
,LiquidTest
,OneSidedTest
,PistonTest
,PolyShapes
,PrismaticTest
,Pulleys
,PyramidTest
,RayCastTest
,RevoluteTest
,RopeTest
,SensorTest
,ShapeEditing
,SignerAdapter
,SliderCrankTest
,SphereStack
,TestbedTest
,TheoJansen
,Tumbler
,VaryingFrictionTest
,VaryingRestitution
,VerticalStack
,Web
- Enclosing interface:
- JbSerializer
public static interface JbSerializer.ObjectSigner
Interface that allows the serializer to look up tags for each object, which can be used later during deserializing by the developer.
-
-
Method Detail
-
getTag
java.lang.Long getTag(World world)
- Parameters:
world
-- Returns:
- the tag for the world. can be null.
-
getTag
java.lang.Long getTag(Body body)
- Parameters:
body
-- Returns:
- the tag for the body. can be null.
-
getTag
java.lang.Long getTag(Shape shape)
- Parameters:
shape
-- Returns:
- the tag for the shape. can be null.
-
getTag
java.lang.Long getTag(Fixture fixture)
- Parameters:
fixture
-- Returns:
- the tag for the fixture. can be null.
-
getTag
java.lang.Long getTag(Joint joint)
- Parameters:
joint
-- Returns:
- the tag for the joint. can be null.
-
-