public VArtifactTown(VATown vat, IntVector2 posGen) { type = VArtifactType.NpcTown; templateId = vat.tid; level = vat.level; PosGen = posGen; }
public VArtifactTown(NativeCamp nc, IntVector2 posGen) { type = VArtifactType.NativeCamp; templateId = nc.cid; level = nc.level; nativeTower = nc.nativeTower; PosGen = posGen; nativeType = (NativeType)nc.nativeType; }
public DestroyedLabel(VArtifactTown vat) { this.pos = vat.TransPos; name = PELocalization.GetString(vat.townNameId); townType = vat.type; nativeType = vat.nativeType; allyId = vat.allyId; allyColorId = vat.AllyColorId; PeMap.LabelMgr.Instance.Add(this); }