示例#1
0
文件: Hues.cs 项目: Skinny1001/PlayUO
 public Texture GetLand(int LandID)
 {
     if (this.m_Land == null)
     {
         this.m_Land = new LandCache(this);
     }
     return this.m_Land[LandID];
 }
示例#2
0
文件: Hues.cs 项目: Skinny1001/PlayUO
 public void Dispose()
 {
     if (this.m_Items != null)
     {
         this.m_Items.Dispose();
         this.m_Items = null;
     }
     if (this.m_Gumps != null)
     {
         this.m_Gumps.Dispose();
         this.m_Gumps = null;
     }
     if (this.m_Land != null)
     {
         this.m_Land.Dispose();
         this.m_Land = null;
     }
     if (this.m_Textures != null)
     {
         this.m_Textures.Dispose();
         this.m_Textures = null;
     }
     if (this.m_Anim != null)
     {
         this.m_Anim.Dispose();
         this.m_Anim = null;
     }
 }