Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -r externs/nape/callbacks/BodyListener.hx externs2/nape/callbacks/BodyListener.hx
- 3c3
- < public function new(event:nape.callbacks.CbEvent,cbType:nape.callbacks.CbType,handler:Dynamic):Void;
- ---
- > public function new(event:nape.callbacks.CbEvent,cbType:nape.callbacks.CbType,handler:BodyCallback->Void):Void;
- 5c5
- < public var handler(default,default):Dynamic;
- ---
- > public var handler(default,default):BodyCallback->Void;
- diff -r externs/nape/callbacks/ConstraintListener.hx externs2/nape/callbacks/ConstraintListener.hx
- 3c3
- < public function new(event:nape.callbacks.CbEvent,cbType:nape.callbacks.CbType,handler:Dynamic):Void;
- ---
- > public function new(event:nape.callbacks.CbEvent,cbType:nape.callbacks.CbType,handler:ConstraintCallback->Void):Void;
- 5c5
- < public var handler(default,default):Dynamic;
- ---
- > public var handler(default,default):ConstraintCallback->Void;
- diff -r externs/nape/callbacks/InteractionListener.hx externs2/nape/callbacks/InteractionListener.hx
- 3c3
- < public function new(event:nape.callbacks.CbEvent,interactionType:nape.callbacks.InteractionType,cbType1:nape.callbacks.CbType,cbType2:nape.callbacks.CbType,handler:Dynamic=null):Void;
- ---
- > public function new(event:nape.callbacks.CbEvent,interactionType:nape.callbacks.InteractionType,cbType1:nape.callbacks.CbType,cbType2:nape.callbacks.CbType,handler:InteractionCallback->Void):Void;
- 6c6
- < public var handler(default,default):Dynamic;
- ---
- > public var handler(default,default):InteractionCallback->Void;
- diff -r externs/nape/callbacks/ListenerList.hx externs2/nape/callbacks/ListenerList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.callbacks.ListenerList;
- ---
- > public function foreach(lambda:Listener->Void):Void;
- > public function filter(lambda:Listener->Bool):nape.callbacks.ListenerList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.callbacks.ListenerList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Listener>#end):nape.callbacks.ListenerList;
- diff -r externs/nape/callbacks/PreListener.hx externs2/nape/callbacks/PreListener.hx
- 3c3
- < public function new(interactionType:nape.callbacks.InteractionType,cbType1:nape.callbacks.CbType,cbType2:nape.callbacks.CbType,handler:Dynamic,pure:Bool=false):Void;
- ---
- > public function new(interactionType:nape.callbacks.InteractionType,cbType1:nape.callbacks.CbType,cbType2:nape.callbacks.CbType,handler:PreCallback->PreFlag,pure:Bool=false):Void;
- 6c6
- < public var handler(default,default):Dynamic;
- ---
- > public var handler(default,default):PreCallback->PreFlag;
- diff -r externs/nape/constraint/ConstraintList.hx externs2/nape/constraint/ConstraintList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.constraint.ConstraintList;
- ---
- > public function foreach(lambda:Constraint->Void):Void;
- > public function filter(lambda:Constraint->Bool):nape.constraint.ConstraintList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.constraint.ConstraintList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Constraint>#end):nape.constraint.ConstraintList;
- diff -r externs/nape/dynamics/ArbiterList.hx externs2/nape/dynamics/ArbiterList.hx
- 16,17c16,17
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.dynamics.ArbiterList;
- ---
- > public function foreach(lambda:Arbiter->Void):Void;
- > public function filter(lambda:Arbiter->Bool):nape.dynamics.ArbiterList;
- 23c23
- < public static function fromArray(array:Array<Dynamic>):nape.dynamics.ArbiterList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Arbiter>#end):nape.dynamics.ArbiterList;
- diff -r externs/nape/dynamics/ContactList.hx externs2/nape/dynamics/ContactList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.dynamics.ContactList;
- ---
- > public function foreach(lambda:Contact->Void):Void;
- > public function filter(lambda:Contact->Bool):nape.dynamics.ContactList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.dynamics.ContactList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Contact>#end):nape.dynamics.ContactList;
- diff -r externs/nape/dynamics/InteractionGroupList.hx externs2/nape/dynamics/InteractionGroupList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.dynamics.InteractionGroupList;
- ---
- > public function foreach(lambda:InteractionGroup->Void):Void;
- > public function filter(lambda:InteractionGroup->Bool):nape.dynamics.InteractionGroupList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.dynamics.InteractionGroupList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<InteractionGroup>#end):nape.dynamics.InteractionGroupList;
- diff -r externs/nape/geom/GeomPolyList.hx externs2/nape/geom/GeomPolyList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.geom.GeomPolyList;
- ---
- > public function foreach(lambda:GeomPoly->Void):Void;
- > public function filter(lambda:GeomPoly->Bool):nape.geom.GeomPolyList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.geom.GeomPolyList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<GeomPoly>#end):nape.geom.GeomPolyList;
- diff -r externs/nape/geom/MarchingSquares.hx externs2/nape/geom/MarchingSquares.hx
- 4c4
- < public static function run(iso:Dynamic,bounds:nape.geom.AABB,cellsize:nape.geom.Vec2,quality:Int=2,subgrid:nape.geom.Vec2=null,combine:Bool=true):nape.geom.GeomPolyList;
- ---
- > public static function run(iso:Float->Float->Float,bounds:nape.geom.AABB,cellsize:nape.geom.Vec2,quality:Int=2,subgrid:nape.geom.Vec2=null,combine:Bool=true):nape.geom.GeomPolyList;
- diff -r externs/nape/geom/Mat23.hx externs2/nape/geom/Mat23.hx
- 24c24
- < public static function scale(sx:Float,sy:Dynamic=null):nape.geom.Mat23;
- ---
- > public static function scale(sx:Float,sy:Float):nape.geom.Mat23;
- diff -r externs/nape/geom/RayResultList.hx externs2/nape/geom/RayResultList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.geom.RayResultList;
- ---
- > public function foreach(lambda:RayResult->Void):Void;
- > public function filter(lambda:RayResult->Bool):nape.geom.RayResultList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.geom.RayResultList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<RayResult>#end):nape.geom.RayResultList;
- diff -r externs/nape/geom/Vec2List.hx externs2/nape/geom/Vec2List.hx
- 16,17c16,17
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.geom.Vec2List;
- ---
- > public function foreach(lambda:Vec2->Void):Void;
- > public function filter(lambda:Vec2->Bool):nape.geom.Vec2List;
- 23c23
- < public static function fromArray(array:Array<Dynamic>):nape.geom.Vec2List;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Vec2>#end):nape.geom.Vec2List;
- diff -r externs/nape/phys/Body.hx externs2/nape/phys/Body.hx
- 61c61
- < public var graphicUpdate(default,default):Dynamic;
- ---
- > public var graphicUpdate(default,default):Body->Void;
- diff -r externs/nape/phys/BodyList.hx externs2/nape/phys/BodyList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.phys.BodyList;
- ---
- > public function foreach(lambda:Body->Void):Void;
- > public function filter(lambda:Body->Bool):nape.phys.BodyList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.phys.BodyList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Body>#end):nape.phys.BodyList;
- diff -r externs/nape/phys/Compound.hx externs2/nape/phys/Compound.hx
- 5,7c5,7
- < public function visitConstraints(lambda:Dynamic):Void;
- < public function visitCompounds(lambda:Dynamic):Void;
- < public function visitBodies(lambda:Dynamic):Void;
- ---
- > public function visitConstraints(lambda:Constraint->Void):Void;
- > public function visitCompounds(lambda:Compound->Void):Void;
- > public function visitBodies(lambda:Body->Void):Void;
- diff -r externs/nape/phys/CompoundList.hx externs2/nape/phys/CompoundList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.phys.CompoundList;
- ---
- > public function foreach(lambda:Compound->Void):Void;
- > public function filter(lambda:Compound->Bool):nape.phys.CompoundList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.phys.CompoundList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Compound>#end):nape.phys.CompoundList;
- diff -r externs/nape/phys/InteractorList.hx externs2/nape/phys/InteractorList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.phys.InteractorList;
- ---
- > public function foreach(lambda:Interactor->Void):Void;
- > public function filter(lambda:Interactor->Bool):nape.phys.InteractorList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.phys.InteractorList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Interactor>#end):nape.phys.InteractorList;
- diff -r externs/nape/shape/EdgeList.hx externs2/nape/shape/EdgeList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.shape.EdgeList;
- ---
- > public function foreach(lambda:Edge->Void):Void;
- > public function filter(lambda:Edge->Bool):nape.shape.EdgeList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.shape.EdgeList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Edge>#end):nape.shape.EdgeList;
- diff -r externs/nape/shape/Polygon.hx externs2/nape/shape/Polygon.hx
- 7,9c7,9
- < public static function rect(x:Float,y:Float,width:Float,height:Float,weak:Bool=false):Array<Dynamic>;
- < public static function box(width:Float,height:Float,weak:Bool=false):Array<Dynamic>;
- < public static function regular(width:Float,height:Float,edgeCount:Int,angleOffset:Float=0,weak:Bool=false):Array<Dynamic>;
- ---
- > public static function rect(x:Float,y:Float,width:Float,height:Float,weak:Bool=false):Array<Vec2>;
- > public static function box(width:Float,height:Float,weak:Bool=false):Array<Vec2>;
- > public static function regular(width:Float,height:Float,edgeCount:Int,angleOffset:Float=0,weak:Bool=false):Array<Vec2>;
- diff -r externs/nape/shape/ShapeList.hx externs2/nape/shape/ShapeList.hx
- 14,15c14,15
- < public function foreach(lambda:Dynamic):Void;
- < public function filter(lambda:Dynamic):nape.shape.ShapeList;
- ---
- > public function foreach(lambda:Shape->Void):Void;
- > public function filter(lambda:Shape->Bool):nape.shape.ShapeList;
- 21c21
- < public static function fromArray(array:Array<Dynamic>):nape.shape.ShapeList;
- ---
- > public static function fromArray(array:#if flash9 Array<Dynamic>#else Array<Shape>#end):nape.shape.ShapeList;
- diff -r externs/nape/space/Space.hx externs2/nape/space/Space.hx
- 5,7c5,7
- < public function visitConstraints(lambda:Dynamic):Void;
- < public function visitCompounds(lambda:Dynamic):Void;
- < public function visitBodies(lambda:Dynamic):Void;
- ---
- > public function visitConstraints(lambda:Constraint->Void):Void;
- > public function visitCompounds(lambda:Compound->Void):Void;
- > public function visitBodies(lambda:Body->Void):Void;
- diff -r externs/nape/util/Debug.hx externs2/nape/util/Debug.hx
- 27c27
- < public var colour:Dynamic;
- ---
- > public var colour:Int->Int;
Add Comment
Please, Sign In to add comment