示例#1
0
文件: Def.cs 项目: sjschaff/rimlite
 public static void SetProto(BldgProtoDef def)
 {
     BB.AssertNotNull(def);
     BB.AssertNull(protoInternal,
                   $"building prototype def <{def.defName}, {def.protoDefType.defName}> declared twice");
     protoInternal = def;
 }
示例#2
0
 public TaskPickupItem(TaskClaimItem claim)
     : base(claim.game, "Picking up item.", MinionAnim.Magic, Tool.None, .425f, FaceSame())
 {
     BB.AssertNotNull(claim);
     this.claim = claim;
 }
示例#3
0
文件: Def.cs 项目: sjschaff/rimlite
 public BldgDefG(string defType, string defName, string name)
     : base(defType, defName, name)
 {
     BB.AssertNotNull(proto, $"building def {defType}<{defName}> declared before proto def");
 }