40 #ifndef _collidablepair_cpp
41 #define _collidablepair_cpp
43 #include "collidablepair.h"
44 #include "collidableproxy.h"
64 return UInt64( ( AID << 32 ) | ( BID ) );
74 return (ContainsA && ContainsB);
virtual Boole PairsMatch(const CollidablePair &Pair) const
Checks to see if this pair is the same as another pair.
CollidablePair(CollidableProxy *A, CollidableProxy *B)
Class constructor.
bool Boole
Generally acts a single bit, true or false.
virtual Boole operator==(const CollidablePair &Pair) const
Checks to see if this pair is the same as another pair.
virtual ~CollidablePair()
Class destructor.
virtual Boole operator<(const CollidablePair &Pair) const
Checks to see if this pair is less than another pair.
CollidableProxy * ProxyB
The second world object in the pair.
CollidableProxy * ProxyA
The first world object in the pair.
This is a helper class for storing pairs of collidable proxies in associative containers.
This is a proxy from which physics objects that can collide with each other are handled.
uint64_t UInt64
An 64-bit unsigned integer.
virtual Integer _GetBroadphaseUniqueID() const
Gets the unique ID assigned to the internal object.
virtual UInt64 GetPairID() const
Gets the combined ID of the objects in this pair.
The bulk of the engine components go in this namspace.
virtual Boole operator>(const CollidablePair &Pair) const
Checks to see if this pair is greater than another pair.