Example #1
0
        public void SetMapPack(MapImagePack mpiPack)
        {
            string strCurrentMapFileName = String.Empty;

            if (this.LoadedMapImagePack != null)
            {
                strCurrentMapFileName = this.LoadedMapImagePack.LoadedMapFileName;
            }

            this.LoadedMapImagePack = mpiPack;

            if (strCurrentMapFileName.Length > 0)
            {
                this.LoadedMapImagePack.LoadMap(strCurrentMapFileName, this.FullyLoadMap);

                this.MapLoaded(strCurrentMapFileName);

                //if (this.MapLoaded != null) {
                //    this.MapLoaded(strCurrentMapFileName);
                //}
            }
        }
Example #2
0
        public void SetMapPack(MapImagePack mpiPack)
        {
            string strCurrentMapFileName = String.Empty;

            if (this.LoadedMapImagePack != null)
            {
                strCurrentMapFileName = this.LoadedMapImagePack.LoadedMapFileName;
            }

            this.LoadedMapImagePack = mpiPack;

            if (strCurrentMapFileName.Length > 0)
            {
                this.LoadedMapImagePack.LoadMap(strCurrentMapFileName, this.FullyLoadMap);

                this.MapLoaded(strCurrentMapFileName);

                //if (this.MapLoaded != null) {
                //    FrostbiteConnection.RaiseEvent(this.MapLoaded.GetInvocationList(), strCurrentMapFileName);
                //}
            }
        }
Example #3
0
        public void SetMapPack(MapImagePack mpiPack)
        {
            string strCurrentMapFileName = String.Empty;

            if (this.LoadedMapImagePack != null) {
                strCurrentMapFileName = this.LoadedMapImagePack.LoadedMapFileName;
            }

            this.LoadedMapImagePack = mpiPack;

            if (strCurrentMapFileName.Length > 0) {
                this.LoadedMapImagePack.LoadMap(strCurrentMapFileName, this.FullyLoadMap);

                this.MapLoaded(strCurrentMapFileName);

                //if (this.MapLoaded != null) {
                //    FrostbiteConnection.RaiseEvent(this.MapLoaded.GetInvocationList(), strCurrentMapFileName);
                //}
            }
        }
Example #4
0
        public void SetMapPack(MapImagePack mpiPack) {

            string strCurrentMapFileName = String.Empty;

            if (this.LoadedMapImagePack != null) {
                strCurrentMapFileName = this.LoadedMapImagePack.LoadedMapFileName;
            }

            this.LoadedMapImagePack = mpiPack;

            if (strCurrentMapFileName.Length > 0) {
                this.LoadedMapImagePack.LoadMap(strCurrentMapFileName, this.FullyLoadMap);

                this.MapLoaded(strCurrentMapFileName);

                //if (this.MapLoaded != null) {
                //    this.MapLoaded(strCurrentMapFileName);
                //}
            }
        }