Package org.jbox2d.testbed.framework
Class SignerAdapter
- java.lang.Object
-
- org.jbox2d.testbed.framework.SignerAdapter
-
- All Implemented Interfaces:
JbSerializer.ObjectSigner
class SignerAdapter extends java.lang.Object implements JbSerializer.ObjectSigner
-
-
Field Summary
Fields Modifier and Type Field Description private JbSerializer.ObjectSigner
delegate
-
Constructor Summary
Constructors Constructor Description SignerAdapter(JbSerializer.ObjectSigner argDelegate)
-
-
-
Field Detail
-
delegate
private final JbSerializer.ObjectSigner delegate
-
-
Constructor Detail
-
SignerAdapter
public SignerAdapter(JbSerializer.ObjectSigner argDelegate)
-
-
Method Detail
-
getTag
public java.lang.Long getTag(World argWorld)
- Specified by:
getTag
in interfaceJbSerializer.ObjectSigner
- Returns:
- the tag for the world. can be null.
-
getTag
public java.lang.Long getTag(Body argBody)
- Specified by:
getTag
in interfaceJbSerializer.ObjectSigner
- Returns:
- the tag for the body. can be null.
-
getTag
public java.lang.Long getTag(Shape argShape)
- Specified by:
getTag
in interfaceJbSerializer.ObjectSigner
- Returns:
- the tag for the shape. can be null.
-
getTag
public java.lang.Long getTag(Fixture argFixture)
- Specified by:
getTag
in interfaceJbSerializer.ObjectSigner
- Returns:
- the tag for the fixture. can be null.
-
getTag
public java.lang.Long getTag(Joint argJoint)
- Specified by:
getTag
in interfaceJbSerializer.ObjectSigner
- Returns:
- the tag for the joint. can be null.
-
-