Beispiel #1
0
 public Texture GetLand(int LandID)
 {
     if (this.m_Land == null)
     {
         this.m_Land = new LandCache(this);
     }
     return this.m_Land[LandID];
 }
Beispiel #2
0
 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;
     }
 }