예제 #1
0
        public MLTile GetTile(IVariable raw)
        {
            string name = raw.GetValue();

            this.isEnded = raw.isEnd();
            if (isVanilla)
            {
                return(new VTile(name));
            }
            MLTile item = new MLTile(ModContent.Find <ModTile>(this.Value.Name, name));

            item.isEnded = this.isEnded;
            return(item);
        }
예제 #2
0
 public void AddRequirement(MLTile tile)
 {
     Requirement.Add(tile);
 }