Method | Description | |
---|---|---|
BodyPair ( IBroadphaseEntity body1, IBroadphaseEntity body2 ) : System |
Initializes a new instance of the BodyPair class.
|
|
Equals ( object obj ) : bool |
Checks if two objects are equal.
|
|
GetHashCode ( ) : int |
Returns the hashcode of the BodyPair. The hashcode is the same if an BodyPair contains the same bodies.
|
Method | Description | |
---|---|---|
SetBodies ( RigidBody body1, RigidBody body2 ) : void |
Don't call this, while the key is used in the arbitermap. It changes the hashcode of this object.
|
public BodyPair ( IBroadphaseEntity body1, IBroadphaseEntity body2 ) : System | ||
body1 | IBroadphaseEntity | |
body2 | IBroadphaseEntity | |
return | System |
public Equals ( object obj ) : bool | ||
obj | object | The object to check against. |
return | bool |