public class CollidablePair
extends java.lang.Object
Constructor and Description |
---|
CollidablePair(Collidable a,
Collidable b) |
CollidablePair(CollidablePair pair) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createComponentName(CompositeComponent ref)
Create a name for this CollidablePair that is suitable to use as a
component name.
|
boolean |
equals(java.lang.Object obj) |
Collidable |
get(int cidx) |
Collidable |
getOther(Collidable c) |
int |
hashCode() |
boolean |
includesCollidables(Collidable a,
Collidable b) |
boolean |
isExplicit() |
java.lang.String |
toString() |
java.lang.String |
toString(CompositeComponent ref) |
java.lang.String |
toString(CompositeComponent ref,
Collidable c) |
public CollidablePair(Collidable a, Collidable b)
public CollidablePair(CollidablePair pair)
public Collidable get(int cidx)
public Collidable getOther(Collidable c)
public boolean isExplicit()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean includesCollidables(Collidable a, Collidable b)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString(CompositeComponent ref, Collidable c)
public java.lang.String toString(CompositeComponent ref)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String createComponentName(CompositeComponent ref)