コード例 #1
0
 public void GetShapes(out Shape shapeA, out Shape shapeB)
 {
     IntPtr a, b;
     __cpArbiterGetShapes (Handle.Handle, out a, out b);
     shapeA = new Shape (a);
     shapeB = new Shape (b);
 }
コード例 #2
0
ファイル: Body.cs プロジェクト: cmckeegan/monotouch-bindings
 public void ActivateStatic(Shape filter)
 {
     cpBodyActivateStatic (Handle.Handle, filter.Handle.Handle);
 }
コード例 #3
0
 public void GetShapes(out Shape shapeA, out Shape shapeB)
 {
     IntPtr a, b;
     __cpArbiterGetShapes (Handle.Handle, out a, out b);
     shapeA = Shape.FromIntPtr (a);
     shapeB = Shape.FromIntPtr (b);
 }