Exemplo n.º 1
0
        private void BotCountDownTimerOnTick(object sender)
        {
            var timeDiff = DateTime.Now - startTime;

            System.Windows.Application.Current?.Dispatcher.Invoke(() =>
            {
                TopPlayerRestTime = GeometryLibUtils.DoubleFormat(Constants.GameConstraint.BotThinkingTimeSeconds - timeDiff.TotalSeconds, 2);
            });
        }
Exemplo n.º 2
0
 public override string ToString() => $"PC({GeometryLibUtils.DoubleFormat(Radius)}, {Theta}, {Phi})";
Exemplo n.º 3
0
 public override string ToString() => GeometryLibUtils.DoubleFormat(Value) + " deg";