public UnitConversionKeySlot(Unit from, Unit to) { this.fromType = from.UnitType; this.toType = to.UnitType; }
/// <summary> /// Returns all registered units of the given type. /// </summary> public static IList <Unit> GetUnits(UnitType unitType) { return(Instance._unitsByType[unitType]); }