コード例 #1
0
 public VArtifactTown(VATown vat, IntVector2 posGen)
 {
     type       = VArtifactType.NpcTown;
     templateId = vat.tid;
     level      = vat.level;
     PosGen     = posGen;
 }
コード例 #2
0
 public VArtifactTown(NativeCamp nc, IntVector2 posGen)
 {
     type        = VArtifactType.NativeCamp;
     templateId  = nc.cid;
     level       = nc.level;
     nativeTower = nc.nativeTower;
     PosGen      = posGen;
     nativeType  = (NativeType)nc.nativeType;
 }
コード例 #3
0
 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);
 }