Exemplo n.º 1
0
 public static void SetProto(BldgProtoDef def)
 {
     BB.AssertNotNull(def);
     BB.AssertNull(protoInternal,
                   $"building prototype def <{def.defName}, {def.protoDefType.defName}> declared twice");
     protoInternal = def;
 }
Exemplo n.º 2
0
 public TaskPickupItem(TaskClaimItem claim)
     : base(claim.game, "Picking up item.", MinionAnim.Magic, Tool.None, .425f, FaceSame())
 {
     BB.AssertNotNull(claim);
     this.claim = claim;
 }
Exemplo n.º 3
0
 public BldgDefG(string defType, string defName, string name)
     : base(defType, defName, name)
 {
     BB.AssertNotNull(proto, $"building def {defType}<{defName}> declared before proto def");
 }