mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,76 @@
|
||||
package Box2D.Collision
|
||||
{
|
||||
public class b2Pair
|
||||
{
|
||||
|
||||
public static var b2_nullPair:uint = 65535;
|
||||
|
||||
public static var b2_nullProxy:uint = 65535;
|
||||
|
||||
public static var b2_tableCapacity:int = 4096;
|
||||
|
||||
public static var e_pairBuffered:uint = 1;
|
||||
|
||||
public static var e_pairRemoved:uint = 2;
|
||||
|
||||
public static var e_pairFinal:uint = 4;
|
||||
|
||||
public static var b2_tableMask:int = b2_tableCapacity - 1;
|
||||
|
||||
public var userData:* = null;
|
||||
|
||||
public var proxyId1:uint;
|
||||
|
||||
public var proxyId2:uint;
|
||||
|
||||
public var next:uint;
|
||||
|
||||
public var status:uint;
|
||||
|
||||
public function b2Pair()
|
||||
{
|
||||
super();
|
||||
}
|
||||
|
||||
public function SetBuffered() : void
|
||||
{
|
||||
status |= e_pairBuffered;
|
||||
}
|
||||
|
||||
public function ClearBuffered() : void
|
||||
{
|
||||
status &= ~e_pairBuffered;
|
||||
}
|
||||
|
||||
public function IsBuffered() : Boolean
|
||||
{
|
||||
return (status & e_pairBuffered) == e_pairBuffered;
|
||||
}
|
||||
|
||||
public function SetRemoved() : void
|
||||
{
|
||||
status |= e_pairRemoved;
|
||||
}
|
||||
|
||||
public function ClearRemoved() : void
|
||||
{
|
||||
status &= ~e_pairRemoved;
|
||||
}
|
||||
|
||||
public function IsRemoved() : Boolean
|
||||
{
|
||||
return (status & e_pairRemoved) == e_pairRemoved;
|
||||
}
|
||||
|
||||
public function SetFinal() : void
|
||||
{
|
||||
status |= e_pairFinal;
|
||||
}
|
||||
|
||||
public function IsFinal() : Boolean
|
||||
{
|
||||
return (status & e_pairFinal) == e_pairFinal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user