public float GetActualCost(Dictionary<TechField, int> techLevels, int shipSize, float costPerPower) { float cost = GetCost(techLevels, shipSize); return (cost + GetPower(shipSize) * costPerPower); }