mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27: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,47 @@
|
||||
package Box2D.Dynamics
|
||||
{
|
||||
import Box2D.Collision.Shapes.b2MassData;
|
||||
import Box2D.Common.Math.b2Vec2;
|
||||
|
||||
public class b2BodyDef
|
||||
{
|
||||
|
||||
public var massData:b2MassData = new b2MassData();
|
||||
|
||||
public var userData:*;
|
||||
|
||||
public var position:b2Vec2 = new b2Vec2();
|
||||
|
||||
public var angle:Number;
|
||||
|
||||
public var linearDamping:Number;
|
||||
|
||||
public var angularDamping:Number;
|
||||
|
||||
public var allowSleep:Boolean;
|
||||
|
||||
public var isSleeping:Boolean;
|
||||
|
||||
public var fixedRotation:Boolean;
|
||||
|
||||
public var isBullet:Boolean;
|
||||
|
||||
public function b2BodyDef()
|
||||
{
|
||||
super();
|
||||
massData.center.SetZero();
|
||||
massData.mass = 0;
|
||||
massData.I = 0;
|
||||
userData = null;
|
||||
position.Set(0,0);
|
||||
angle = 0;
|
||||
linearDamping = 0;
|
||||
angularDamping = 0;
|
||||
allowSleep = true;
|
||||
isSleeping = false;
|
||||
fixedRotation = false;
|
||||
isBullet = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user