public TilePositionDoubleMap(TilePositionDoubleMap other) : this(bwapiPINVOKE.new_TilePositionDoubleMap__SWIG_1(TilePositionDoubleMap.getCPtr(other)), true) { if (bwapiPINVOKE.SWIGPendingException.Pending) { throw bwapiPINVOKE.SWIGPendingException.Retrieve(); } }
public TilePositionDoubleMapEnumerator(TilePositionDoubleMap collection) { collectionRef = collection; keyCollection = new global::System.Collections.Generic.List <TilePosition>(collection.Keys); currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public static TilePositionDoubleMap getGroundDistances(TilePosition start, TilePositionSet targets) { TilePositionDoubleMap ret = new TilePositionDoubleMap(bwtaPINVOKE.getGroundDistances(TilePosition.getCPtr(start), TilePositionSet.getCPtr(targets)), true); if (bwtaPINVOKE.SWIGPendingException.Pending) { throw bwtaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static TilePositionDoubleMap getGroundDistances(TilePosition start, TilePositionSet targets) { TilePositionDoubleMap ret = new TilePositionDoubleMap(bwtaPINVOKE.getGroundDistances(TilePosition.getCPtr(start), TilePositionSet.getCPtr(targets)), true); if (bwtaPINVOKE.SWIGPendingException.Pending) throw bwtaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TilePositionDoubleMap obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }