static int ExitCost(IHex hex, Hexside hexside) => hex.ExitCost(hexside);