Interface JbSerializer.ObjectSigner

All Known Implementing Classes:
ApplyForce, BlobTest4, BodyTypes, Breakable, BulletTest, Cantilever, Car, Chain, CharacterCollision, CircleStress, CollisionFiltering, CollisionProcessing, CompoundShapes, ConfinedTest, ContinuousTest, ConvexHull, ConveyorBelt, DamBreak, DistanceTest, DominoTest, DominoTower, DrawingParticles, DynamicTreeTest, EdgeShapes, EdgeTest, FixedPendulumTest, FreePendulumTest, Gears, HelloWorld, LiquidTimer, MotorTest, OneSidedTest, Particles, ParticleTypes, PistonTest, PolyShapes, PrismaticTest, Pulleys, PyramidTest, RayCastTest, RevoluteTest, RopeTest, SensorTest, ShapeEditing, SliderCrankTest, SphereStack, TestbedTest, TheoJansen, Tumbler, VaryingFrictionTest, VaryingRestitution, VerticalStack, WaveMachine, 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.
Author:
Daniel Murphy
  • Method Details

    • getTag

      Long getTag(World world)
      Returns:
      The tag for the world. Can be null.
    • getTag

      Long getTag(Body body)
      Returns:
      The tag for the body. Can be null.
    • getTag

      Long getTag(Shape shape)
      Returns:
      The tag for the shape. Can be null.
    • getTag

      Long getTag(Fixture fixture)
      Returns:
      The tag for the fixture. Can be null.
    • getTag

      Long getTag(Joint joint)
      Returns:
      The tag for the joint. Can be null.