org.jbox2d.serialization
Interface JbSerializer.ObjectSigner

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

Method Summary
 Long getTag(org.jbox2d.dynamics.Body body)
           
 Long getTag(org.jbox2d.dynamics.Fixture fixture)
           
 Long getTag(org.jbox2d.dynamics.joints.Joint joint)
           
 Long getTag(org.jbox2d.collision.shapes.Shape shape)
           
 Long getTag(org.jbox2d.dynamics.World world)
           
 

Method Detail

getTag

Long getTag(org.jbox2d.dynamics.World world)
Parameters:
world -
Returns:
the tag for the world. can be null.

getTag

Long getTag(org.jbox2d.dynamics.Body body)
Parameters:
body -
Returns:
the tag for the body. can be null.

getTag

Long getTag(org.jbox2d.collision.shapes.Shape shape)
Parameters:
shape -
Returns:
the tag for the shape. can be null.

getTag

Long getTag(org.jbox2d.dynamics.Fixture fixture)
Parameters:
fixture -
Returns:
the tag for the fixture. can be null.

getTag

Long getTag(org.jbox2d.dynamics.joints.Joint joint)
Parameters:
joint -
Returns:
the tag for the joint. can be null.


Copyright © 2013. All Rights Reserved.