mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
38 lines
841 B
ActionScript
38 lines
841 B
ActionScript
package game.skeeball
|
|
{
|
|
import Box2D.Collision.Shapes.b2Shape;
|
|
import Box2D.Common.Math.b2Vec2;
|
|
|
|
public class Skeeball_CustomContactPoint
|
|
{
|
|
|
|
public var shape1:b2Shape;
|
|
|
|
public var shape2:b2Shape;
|
|
|
|
public var separation:Number;
|
|
|
|
public var position:b2Vec2;
|
|
|
|
public var velocity:b2Vec2;
|
|
|
|
public var normal:b2Vec2;
|
|
|
|
public var force:Number;
|
|
|
|
public var normalImpulse:Number;
|
|
|
|
public var tangentImpulse:Number;
|
|
|
|
public function Skeeball_CustomContactPoint(param1:b2Shape, param2:b2Shape, param3:Number, param4:b2Vec2)
|
|
{
|
|
super();
|
|
shape1 = param1;
|
|
shape2 = param2;
|
|
normalImpulse = param3;
|
|
position = param4;
|
|
}
|
|
}
|
|
}
|
|
|