예제 #1
0
        public Transition(string iDescription, ClsTerrain iGroupA, ClsTerrain iGroupB, ClsTerrain iGroupC, string iHashKey)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = (RandomStatics)null;
            this.m_File        = (string)null;
            this.m_Description = iDescription;
            byte num = (byte)0;

            do
            {
                string sLeft = Strings.Mid(iHashKey, checked ((int)num + 1), 1);
                if (StringType.StrCmp(sLeft, "A", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
                }
                else if (StringType.StrCmp(sLeft, "B", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
                }
                else if (StringType.StrCmp(sLeft, "C", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupC.GroupID));
                }
                ++num;
            }while ((int)num <= 8);
        }
예제 #2
0
        public Transition(string iDescription, ClsTerrain iGroupA, ClsTerrain iGroupB, string iHashKey, MapTile iMapTile)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte b = 0;

            do
            {
                string sLeft = Strings.Mid(iHashKey, (int)checked (b + 1), 1);
                if (StringType.StrCmp(sLeft, "A", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
                }
                else
                {
                    if (StringType.StrCmp(sLeft, "B", false) == 0)
                    {
                        this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
                    }
                }
                b += 1;
            }while (b <= 8);
            this.m_MapTiles.Add(iMapTile);
        }
예제 #3
0
        public Transition(string iDescription, ClsTerrain iGroupA, ClsTerrain iGroupB, string iHashKey, MapTile iMapTile)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte num = 0;

            do
            {
                string str = Strings.Mid(iHashKey, checked (num + 1), 1);
                if (StringType.StrCmp(str, "A", false) == 0)
                {
                    this.m_HashKey.Add(new Transition.HashKey(iGroupA.GroupID));
                }
                else if (StringType.StrCmp(str, "B", false) == 0)
                {
                    this.m_HashKey.Add(new Transition.HashKey(iGroupB.GroupID));
                }
                num = checked ((byte)(num + 1));
            }while (num <= 8);
            this.m_MapTiles.Add(iMapTile);
        }
예제 #4
0
        public Transition(string iDescription, string iHashKey)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte num = 0;

            do
            {
                this.m_HashKey.Add(new Transition.HashKey(Strings.Mid(iHashKey, checked (checked (num * 2) + 1), 2)));
                num = checked ((byte)(num + 1));
            }while (num <= 8);
        }
예제 #5
0
        public Transition(string iDescription, string iHashKey)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = (RandomStatics)null;
            this.m_File        = (string)null;
            this.m_Description = iDescription;
            byte num = (byte)0;

            do
            {
                this.m_HashKey.Add(new HashKey(Strings.Mid(iHashKey, checked ((int)num * 2 + 1), 2)));
                ++num;
            }while ((int)num <= 8);
        }
예제 #6
0
        public Transition(string iDescription, string iHashKey)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte b = 0;

            do
            {
                this.m_HashKey.Add(new HashKey(Strings.Mid(iHashKey, (int)checked (b * 2 + 1), 2)));
                b += 1;
            }while (b <= 8);
        }
예제 #7
0
        public Transition()
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = "<New Transition>";
            this.m_HashKey.Clear();
            byte b = 0;

            do
            {
                this.m_HashKey.Add(new HashKey());
                b += 1;
            }while (b <= 8);
        }
예제 #8
0
        public Transition()
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = (RandomStatics)null;
            this.m_File        = (string)null;
            this.m_Description = "<New Transition>";
            this.m_HashKey.Clear();
            byte num = (byte)0;

            do
            {
                this.m_HashKey.Add(new HashKey());
                ++num;
            }while ((int)num <= 8);
        }
예제 #9
0
        public Transition()
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = "<New Transition>";
            this.m_HashKey.Clear();
            byte num = 0;

            do
            {
                this.m_HashKey.Add(new Transition.HashKey());
                num = checked ((byte)(num + 1));
            }while (num <= 8);
        }
        public Transition(string iDescription, string iHashKey, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            this.m_HashKey = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File = null;
            this.m_Description = iDescription;
            this.m_HashKey.AddHashKey(iHashKey);

            IEnumerator enumerator = iMapTiles.GetEnumerator();

            try
            {
                while (enumerator.MoveNext())
                {
                    MapTile value = (MapTile)enumerator.Current;
                    this.m_MapTiles.Add(value);
                }
            }
            finally
            {
                if (enumerator is IDisposable)
                {
                    ((IDisposable)enumerator).Dispose();
                }
            }

            IEnumerator enumerator2 = iStaticTiles.GetEnumerator();

            try
            {
                while (enumerator2.MoveNext())
                {
                    StaticTile value2 = (StaticTile)enumerator2.Current;
                    this.m_StaticTiles.Add(value2);
                }
            }
            finally
            {
                if (enumerator2 is IDisposable)
                {
                    ((IDisposable)enumerator2).Dispose();
                }
            }
        }
예제 #11
0
 public Transition(XmlElement xmlInfo)
 {
     this.m_HashKey     = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles    = new MapTileCollection();
     this.m_RandomTiles = null;
     this.m_File        = null;
     this.m_Description = xmlInfo.GetAttribute("Description");
     this.m_HashKey.AddHashKey(xmlInfo.GetAttribute("HashKey"));
     if (StringType.StrCmp(xmlInfo.GetAttribute("File"), string.Empty, false) != 0)
     {
         this.m_RandomTiles = new RandomStatics(xmlInfo.GetAttribute("File"));
         this.m_File        = xmlInfo.GetAttribute("File");
     }
     this.m_MapTiles.Load(xmlInfo);
     this.m_StaticTiles.Load(xmlInfo);
 }
예제 #12
0
        public Transition(string iDescription, string iHashKey, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            this.m_HashKey.AddHashKey(iHashKey);

            IEnumerator enumerator = iMapTiles.GetEnumerator();

            try
            {
                while (enumerator.MoveNext())
                {
                    MapTile value = (MapTile)enumerator.Current;
                    this.m_MapTiles.Add(value);
                }
            }
            finally
            {
                if (enumerator is IDisposable)
                {
                    ((IDisposable)enumerator).Dispose();
                }
            }

            IEnumerator enumerator2 = iStaticTiles.GetEnumerator();

            try
            {
                while (enumerator2.MoveNext())
                {
                    StaticTile value2 = (StaticTile)enumerator2.Current;
                    this.m_StaticTiles.Add(value2);
                }
            }
            finally
            {
                if (enumerator2 is IDisposable)
                {
                    ((IDisposable)enumerator2).Dispose();
                }
            }
        }
 public Transition()
 {
     this.m_HashKey = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles = new MapTileCollection();
     this.m_RandomTiles = null;
     this.m_File = null;
     this.m_Description = "<New Transition>";
     this.m_HashKey.Clear();
     byte b = 0;
     do
     {
         this.m_HashKey.Add(new HashKey());
         b += 1;
     }
     while (b <= 8);
 }
 public Transition(XmlElement xmlInfo)
 {
     this.m_HashKey = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles = new MapTileCollection();
     this.m_RandomTiles = null;
     this.m_File = null;
     this.m_Description = xmlInfo.GetAttribute("Description");
     this.m_HashKey.AddHashKey(xmlInfo.GetAttribute("HashKey"));
     if (StringType.StrCmp(xmlInfo.GetAttribute("File"), string.Empty, false) != 0)
     {
         this.m_RandomTiles = new RandomStatics(xmlInfo.GetAttribute("File"));
         this.m_File = xmlInfo.GetAttribute("File");
     }
     this.m_MapTiles.Load(xmlInfo);
     this.m_StaticTiles.Load(xmlInfo);
 }
예제 #15
0
        public Transition(string iDescription, string iHashKey, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            IEnumerator enumerator  = null;
            IEnumerator enumerator1 = null;

            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            this.m_HashKey.AddHashKey(iHashKey);
            try
            {
                enumerator1 = iMapTiles.GetEnumerator();
                while (enumerator1.MoveNext())
                {
                    MapTile current = (MapTile)enumerator1.Current;
                    this.m_MapTiles.Add(current);
                }
            }
            finally
            {
                if (enumerator1 is IDisposable)
                {
                    ((IDisposable)enumerator1).Dispose();
                }
            }
            try
            {
                enumerator = iStaticTiles.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    Transition.StaticTile staticTile = (Transition.StaticTile)enumerator.Current;
                    this.m_StaticTiles.Add(staticTile);
                }
            }
            finally
            {
                if (enumerator is IDisposable)
                {
                    ((IDisposable)enumerator).Dispose();
                }
            }
        }
예제 #16
0
 public Transition(string iDescription, string iHashKey, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
 {
     this.m_HashKey     = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles    = new MapTileCollection();
     this.m_RandomTiles = (RandomStatics)null;
     this.m_File        = (string)null;
     this.m_Description = iDescription;
     this.m_HashKey.AddHashKey(iHashKey);
     try
     {
         foreach (MapTile mapTile in (CollectionBase)iMapTiles)
         {
             this.m_MapTiles.Add(mapTile);
         }
     }
     finally
     {
         IEnumerator enumerator;
         if (enumerator is IDisposable)
         {
             ((IDisposable)enumerator).Dispose();
         }
     }
     try
     {
         foreach (StaticTile staticTile in (CollectionBase)iStaticTiles)
         {
             this.m_StaticTiles.Add(staticTile);
         }
     }
     finally
     {
         IEnumerator enumerator;
         if (enumerator is IDisposable)
         {
             ((IDisposable)enumerator).Dispose();
         }
     }
 }
예제 #17
0
        public Transition(string iDescription, string iHashKey, ClsTerrain iGroupA, ClsTerrain iGroupB, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = (RandomStatics)null;
            this.m_File        = (string)null;
            this.m_Description = iDescription;
            byte num = (byte)0;

            do
            {
                string sLeft = Strings.Mid(iHashKey, checked ((int)num + 1), 1);
                if (StringType.StrCmp(sLeft, "A", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
                }
                else if (StringType.StrCmp(sLeft, "B", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
                }
                ++num;
            }while ((int)num <= 8);
            if (iMapTiles != null)
            {
                try
                {
                    foreach (MapTile mapTile in (CollectionBase)iMapTiles)
                    {
                        this.m_MapTiles.Add(mapTile);
                    }
                }
                finally
                {
                    IEnumerator enumerator;
                    if (enumerator is IDisposable)
                    {
                        ((IDisposable)enumerator).Dispose();
                    }
                }
            }
            if (iStaticTiles == null)
            {
                return;
            }
            try
            {
                foreach (StaticTile staticTile in (CollectionBase)iStaticTiles)
                {
                    this.m_StaticTiles.Add(staticTile);
                }
            }
            finally
            {
                IEnumerator enumerator;
                if (enumerator is IDisposable)
                {
                    ((IDisposable)enumerator).Dispose();
                }
            }
        }
예제 #18
0
 public StaticTileCollection Get_StaticTile(TreeNodeCollection iTreeNode)
 {
     StaticTileCollection staticTileCollection = new StaticTileCollection();
       staticTileCollection.Clear();
       try
       {
     foreach (TreeNode treeNode in iTreeNode)
       staticTileCollection.Add(new Transition.StaticTile(ShortType.FromObject(treeNode.Tag), (short) 0));
       }
       finally
       {
     IEnumerator enumerator;
     if (enumerator is IDisposable)
       ((IDisposable) enumerator).Dispose();
       }
       return staticTileCollection;
 }
예제 #19
0
        public Transition(string iDescription, string iHashKey, ClsTerrain iGroupA, ClsTerrain iGroupB, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            IEnumerator enumerator  = null;
            IEnumerator enumerator1 = null;

            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte num = 0;

            do
            {
                string str = Strings.Mid(iHashKey, checked (num + 1), 1);
                if (StringType.StrCmp(str, "A", false) == 0)
                {
                    this.m_HashKey.Add(new Transition.HashKey(iGroupA.GroupID));
                }
                else if (StringType.StrCmp(str, "B", false) == 0)
                {
                    this.m_HashKey.Add(new Transition.HashKey(iGroupB.GroupID));
                }
                num = checked ((byte)(num + 1));
            }while (num <= 8);
            if (iMapTiles != null)
            {
                try
                {
                    enumerator1 = iMapTiles.GetEnumerator();
                    while (enumerator1.MoveNext())
                    {
                        MapTile current = (MapTile)enumerator1.Current;
                        this.m_MapTiles.Add(current);
                    }
                }
                finally
                {
                    if (enumerator1 is IDisposable)
                    {
                        ((IDisposable)enumerator1).Dispose();
                    }
                }
            }
            if (iStaticTiles != null)
            {
                try
                {
                    enumerator = iStaticTiles.GetEnumerator();
                    while (enumerator.MoveNext())
                    {
                        Transition.StaticTile staticTile = (Transition.StaticTile)enumerator.Current;
                        this.m_StaticTiles.Add(staticTile);
                    }
                }
                finally
                {
                    if (enumerator is IDisposable)
                    {
                        ((IDisposable)enumerator).Dispose();
                    }
                }
            }
        }
 public Transition(string iDescription, ClsTerrain iGroupA, ClsTerrain iGroupB, string iHashKey, MapTile iMapTile)
 {
     this.m_HashKey = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles = new MapTileCollection();
     this.m_RandomTiles = null;
     this.m_File = null;
     this.m_Description = iDescription;
     byte b = 0;
     do
     {
         string sLeft = Strings.Mid(iHashKey, (int)checked(b + 1), 1);
         if (StringType.StrCmp(sLeft, "A", false) == 0)
         {
             this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
         }
         else
         {
             if (StringType.StrCmp(sLeft, "B", false) == 0)
             {
                 this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
             }
         }
         b += 1;
     }
     while (b <= 8);
     this.m_MapTiles.Add(iMapTile);
 }
        public Transition(string iDescription, string iHashKey, ClsTerrain iGroupA, ClsTerrain iGroupB, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            this.m_HashKey = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File = null;
            this.m_Description = iDescription;
            byte b = 0;
            do
            {
                string sLeft = Strings.Mid(iHashKey, (int)checked(b + 1), 1);
                if (StringType.StrCmp(sLeft, "A", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
                }
                else
                {
                    if (StringType.StrCmp(sLeft, "B", false) == 0)
                    {
                        this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
                    }
                }
                b += 1;
            }
            while (b <= 8);
            if (iMapTiles != null)
            {
                IEnumerator enumerator = iMapTiles.GetEnumerator();
                try
                {
                    while (enumerator.MoveNext())
                    {
                        MapTile value = (MapTile)enumerator.Current;
                        this.m_MapTiles.Add(value);
                    }
                }
                finally
                {
                    if (enumerator is IDisposable)
                    {
                        ((IDisposable)enumerator).Dispose();
                    }
                }
            }
            if (iStaticTiles != null)
            {
                IEnumerator enumerator2 = iStaticTiles.GetEnumerator();

                try
                {
                    while (enumerator2.MoveNext())
                    {
                        StaticTile value2 = (StaticTile)enumerator2.Current;
                        this.m_StaticTiles.Add(value2);
                    }
                }
                finally
                {
                    if (enumerator2 is IDisposable)
                    {
                        ((IDisposable)enumerator2).Dispose();
                    }
                }
            }
        }
예제 #22
0
        public Transition(string iDescription, string iHashKey, ClsTerrain iGroupA, ClsTerrain iGroupB, MapTileCollection iMapTiles, StaticTileCollection iStaticTiles)
        {
            this.m_HashKey     = new HashKeyCollection();
            this.m_StaticTiles = new StaticTileCollection();
            this.m_MapTiles    = new MapTileCollection();
            this.m_RandomTiles = null;
            this.m_File        = null;
            this.m_Description = iDescription;
            byte b = 0;

            do
            {
                string sLeft = Strings.Mid(iHashKey, (int)checked (b + 1), 1);
                if (StringType.StrCmp(sLeft, "A", false) == 0)
                {
                    this.m_HashKey.Add(new HashKey(iGroupA.GroupID));
                }
                else
                {
                    if (StringType.StrCmp(sLeft, "B", false) == 0)
                    {
                        this.m_HashKey.Add(new HashKey(iGroupB.GroupID));
                    }
                }
                b += 1;
            }while (b <= 8);
            if (iMapTiles != null)
            {
                IEnumerator enumerator = iMapTiles.GetEnumerator();
                try
                {
                    while (enumerator.MoveNext())
                    {
                        MapTile value = (MapTile)enumerator.Current;
                        this.m_MapTiles.Add(value);
                    }
                }
                finally
                {
                    if (enumerator is IDisposable)
                    {
                        ((IDisposable)enumerator).Dispose();
                    }
                }
            }
            if (iStaticTiles != null)
            {
                IEnumerator enumerator2 = iStaticTiles.GetEnumerator();

                try
                {
                    while (enumerator2.MoveNext())
                    {
                        StaticTile value2 = (StaticTile)enumerator2.Current;
                        this.m_StaticTiles.Add(value2);
                    }
                }
                finally
                {
                    if (enumerator2 is IDisposable)
                    {
                        ((IDisposable)enumerator2).Dispose();
                    }
                }
            }
        }
 public StaticTileCollection Get_StaticTile(TreeNodeCollection iTreeNode)
 {
     IEnumerator enumerator = null;
     StaticTileCollection staticTileCollection = new StaticTileCollection();
     staticTileCollection.Clear();
     try
     {
         enumerator = iTreeNode.GetEnumerator();
         while (enumerator.MoveNext())
         {
             TreeNode current = (TreeNode)enumerator.Current;
             staticTileCollection.Add(new Transition.StaticTile(ShortType.FromObject(current.Tag), 0));
         }
     }
     finally
     {
         if (enumerator is IDisposable)
         {
             ((IDisposable)enumerator).Dispose();
         }
     }
     return staticTileCollection;
 }
예제 #24
0
 public StaticTileCollection Get_StaticTiles(string iStaticTile)
 {
     StaticTileCollection staticTileCollection = new StaticTileCollection();
       string sLeft = iStaticTile;
       if (StringType.StrCmp(sLeft, "Outer Top Left", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticOuterTopLeft.Nodes);
       else if (StringType.StrCmp(sLeft, "Outer Top Right", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticOuterTopRight.Nodes);
       else if (StringType.StrCmp(sLeft, "Outer Bottom Left", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticOuterBottomLeft.Nodes);
       else if (StringType.StrCmp(sLeft, "Outer Bottom Right", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticOuterBottomRight.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Top Left", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerTopLeft.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Top", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerTop.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Top Right", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerTopRight.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Left", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerLeft.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Right", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerRight.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Bottom Left", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerBottomLeft.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Bottom", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerBottom.Nodes);
       else if (StringType.StrCmp(sLeft, "Inner Bottom Right", false) == 0)
     staticTileCollection = this.Get_StaticTile(this.iStaticInnerBottomRight.Nodes);
       else if (StringType.StrCmp(sLeft, "Autocorrect", false) == 0)
     return (StaticTileCollection) null;
       return staticTileCollection;
 }
 public StaticTileCollection Get_StaticTiles(string iStaticTile)
 {
     StaticTileCollection staticTileCollection;
     StaticTileCollection staticTile = new StaticTileCollection();
     string str = iStaticTile;
     if (StringType.StrCmp(str, "Outer Top Left", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticOuterTopLeft.Nodes);
     }
     else if (StringType.StrCmp(str, "Outer Top Right", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticOuterTopRight.Nodes);
     }
     else if (StringType.StrCmp(str, "Outer Bottom Left", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticOuterBottomLeft.Nodes);
     }
     else if (StringType.StrCmp(str, "Outer Bottom Right", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticOuterBottomRight.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Top Left", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerTopLeft.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Top", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerTop.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Top Right", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerTopRight.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Left", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerLeft.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Right", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerRight.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Bottom Left", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerBottomLeft.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Bottom", false) == 0)
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerBottom.Nodes);
     }
     else if (StringType.StrCmp(str, "Inner Bottom Right", false) != 0)
     {
         if (StringType.StrCmp(str, "Autocorrect", false) != 0)
         {
             staticTileCollection = staticTile;
             return staticTileCollection;
         }
         staticTileCollection = null;
         return staticTileCollection;
     }
     else
     {
         staticTile = this.Get_StaticTile(this.iStaticInnerBottomRight.Nodes);
     }
     staticTileCollection = staticTile;
     return staticTileCollection;
 }
 public Transition(string iDescription, string iHashKey)
 {
     this.m_HashKey = new HashKeyCollection();
     this.m_StaticTiles = new StaticTileCollection();
     this.m_MapTiles = new MapTileCollection();
     this.m_RandomTiles = null;
     this.m_File = null;
     this.m_Description = iDescription;
     byte b = 0;
     do
     {
         this.m_HashKey.Add(new HashKey(Strings.Mid(iHashKey, (int)checked(b * 2 + 1), 2)));
         b += 1;
     }
     while (b <= 8);
 }