예제 #1
0
 public void Load(ZON zon, string mapFolder, string himName, string tilName, Vector2 mapPosition)
 {
     this.zon         = zon;
     this.mapPosition = mapPosition;
     this.him         = ContentManager.Instance().GetHIM(himName, mapFolder);
     this.til         = ContentManager.Instance().GetTIL(tilName, mapFolder);
     this.GenerateVertices();
 }
예제 #2
0
        public HIM GetHIM(string name, string folderPath)
        {
            HIM result;

            if (!this.HIMs.Contains(name))
            {
                HIM hIM = new HIM();
                hIM.Load(folderPath + name, ClientType.IROSE);
                this.HIMs.Add(name, hIM);
                result = hIM;
            }
            else
            {
                result = (HIM)this.HIMs[name];
            }
            return(result);
        }
예제 #3
0
 public void Load(ZON zon, string mapFolder, string himName, string tilName, Vector2 mapPosition)
 {
     this.zon = zon;
     this.mapPosition = mapPosition;
     this.him = ContentManager.Instance().GetHIM(himName, mapFolder);
     this.til = ContentManager.Instance().GetTIL(tilName, mapFolder);
     this.GenerateVertices();
 }
예제 #4
0
 public HIM GetHIM(string name, string folderPath)
 {
     HIM result;
     if (!this.HIMs.Contains(name))
     {
         HIM hIM = new HIM();
         hIM.Load(folderPath + name, ClientType.IROSE);
         this.HIMs.Add(name, hIM);
         result = hIM;
     }
     else
     {
         result = (HIM)this.HIMs[name];
     }
     return result;
 }