Esempio n. 1
0
 public void Init(ConstructionType type)
 {
     this.type = type;
 }
Esempio n. 2
0
 public bool CanTransform(ConstructionType other, out ConstructionType result) => result = _upgrades.SingleOrDefault(t => t.upgradeType == other)?.upgradeInto;