コード例 #1
0
ファイル: Construction.cs プロジェクト: nistace/ld48
 public void Init(ConstructionType type)
 {
     this.type = type;
 }
コード例 #2
0
 public bool CanTransform(ConstructionType other, out ConstructionType result) => result = _upgrades.SingleOrDefault(t => t.upgradeType == other)?.upgradeInto;