PackageBox2D.Collision
Classpublic class b2PairManager
Inheritanceb2PairManager Inheritance Object



Public Properties
 PropertyDefined By
  m_broadPhase : b2BroadPhase
b2PairManager
  m_callback : b2PairCallback
b2PairManager
  m_freePair : uint
b2PairManager
  m_hashTable : Array
b2PairManager
  m_pairBuffer : Array
b2PairManager
  m_pairBufferCount : int
b2PairManager
  m_pairCount : int
b2PairManager
  m_pairs : Array
b2PairManager
Public Methods
 MethodDefined By
  
b2PairManager
  
AddBufferedPair(proxyId1:int, proxyId2:int):void
b2PairManager
  
Commit():void
b2PairManager
  
Equals(pair:b2Pair, proxyId1:uint, proxyId2:uint):Boolean
[static]
b2PairManager
  
[static]
b2PairManager
  
Hash(proxyId1:uint, proxyId2:uint):uint
[static]
b2PairManager
  
Initialize(broadPhase:b2BroadPhase, callback:b2PairCallback):void
b2PairManager
  
RemoveBufferedPair(proxyId1:int, proxyId2:int):void
b2PairManager
Property Detail
m_broadPhaseproperty
public var m_broadPhase:b2BroadPhase

m_callbackproperty 
public var m_callback:b2PairCallback

m_freePairproperty 
public var m_freePair:uint

m_hashTableproperty 
public var m_hashTable:Array

m_pairBufferproperty 
public var m_pairBuffer:Array

m_pairBufferCountproperty 
public var m_pairBufferCount:int

m_pairCountproperty 
public var m_pairCount:int

m_pairsproperty 
public var m_pairs:Array

Constructor Detail
b2PairManager()Constructor
public function b2PairManager()



Method Detail
AddBufferedPair()method
public function AddBufferedPair(proxyId1:int, proxyId2:int):void

Parameters

proxyId1:int
 
proxyId2:int

Commit()method 
public function Commit():void

Equals()method 
public static function Equals(pair:b2Pair, proxyId1:uint, proxyId2:uint):Boolean

Parameters

pair:b2Pair
 
proxyId1:uint
 
proxyId2:uint

Returns
Boolean
EqualsPair()method 
public static function EqualsPair(pair1:b2BufferedPair, pair2:b2BufferedPair):Boolean

Parameters

pair1:b2BufferedPair
 
pair2:b2BufferedPair

Returns
Boolean
Hash()method 
public static function Hash(proxyId1:uint, proxyId2:uint):uint

Parameters

proxyId1:uint
 
proxyId2:uint

Returns
uint
Initialize()method 
public function Initialize(broadPhase:b2BroadPhase, callback:b2PairCallback):void

Parameters

broadPhase:b2BroadPhase
 
callback:b2PairCallback

RemoveBufferedPair()method 
public function RemoveBufferedPair(proxyId1:int, proxyId2:int):void

Parameters

proxyId1:int
 
proxyId2:int