Class ContactID
java.lang.Object
com.codename1.gaming.physics.box2d.collision.ContactID
- All Implemented Interfaces:
Comparable<ContactID>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
indexA
public byte indexA -
indexB
public byte indexB -
typeA
public byte typeA -
typeB
public byte typeB
-
-
Constructor Details
-
ContactID
public ContactID() -
ContactID
-
-
Method Details
-
getKey
public int getKey() -
isEqual
-
set
-
flip
public void flip() -
zero
public void zero() -
compareTo
Description copied from interface:ComparableCompares this object to the specified object to determine their relative order.
Parameters
another: the object to compare to this instance.
Returns
- Specified by:
compareToin interfaceComparable<ContactID>- Returns:
a negative integer if this instance is less than
another; a positive integer if this instance is greater thananother; 0 if this instance has the same order asanother.Throws
ClassCastException: @throws ClassCastException ifanothercannot be converted into something comparable tothisinstance.
-