public RectangleArrayDouble(RectangleArrayDouble rectangleArray) : this(bwtaPINVOKE.new_RectangleArrayDouble__SWIG_4(RectangleArrayDouble.getCPtr(rectangleArray)), true)
 {
     if (bwtaPINVOKE.SWIGPendingException.Pending)
     {
         throw bwtaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public bool Equals(RectangleArrayDouble obj)
 {
     if (obj == null)
     {
         return(false);
     }
     return(obj.swigCPtr.Handle == this.swigCPtr.Handle);
 }
예제 #3
0
 public static void getGroundWalkDistanceMap(int walkx, int walky, RectangleArrayDouble distanceMap)
 {
     bwtaPINVOKE.getGroundWalkDistanceMap(walkx, walky, RectangleArrayDouble.getCPtr(distanceMap));
     if (bwtaPINVOKE.SWIGPendingException.Pending)
     {
         throw bwtaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #4
0
 public static void getGroundDistanceMap(TilePosition start, RectangleArrayDouble distanceMap)
 {
     bwtaPINVOKE.getGroundDistanceMap(TilePosition.getCPtr(start), RectangleArrayDouble.getCPtr(distanceMap));
     if (bwtaPINVOKE.SWIGPendingException.Pending)
     {
         throw bwtaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
public bool Equals(RectangleArrayDouble obj) 
{
    if (obj == null) return false;
    return (obj.swigCPtr.Handle == this.swigCPtr.Handle);
}
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RectangleArrayDouble obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public RectangleArrayDouble(RectangleArrayDouble rectangleArray) : this(bwtaPINVOKE.new_RectangleArrayDouble__SWIG_4(RectangleArrayDouble.getCPtr(rectangleArray)), true) {
   if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #8
0
 public static void getGroundWalkDistanceMap(int walkx, int walky, RectangleArrayDouble distanceMap) {
   bwtaPINVOKE.getGroundWalkDistanceMap(walkx, walky, RectangleArrayDouble.getCPtr(distanceMap));
   if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve();
 }
예제 #9
0
 public static void getGroundDistanceMap(TilePosition start, RectangleArrayDouble distanceMap) {
   bwtaPINVOKE.getGroundDistanceMap(TilePosition.getCPtr(start), RectangleArrayDouble.getCPtr(distanceMap));
   if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RectangleArrayDouble obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(RectangleArrayDouble obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }