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); }
public void AddRequirement(MLTile tile) { Requirement.Add(tile); }