Exemple #1
0
        public override void OnReplayStarted()
        {
            PreviousPlayer.OnReplayStarted();
            Player.Wait();

            for (int i = 0; i < Balls.Count; i++)
            {
                Balls[i].OnReplayStarted();
            }
        }
Exemple #2
0
        public override void OnReplayStopped()
        {
            if (PreviousPlayer != null)
            {
                PreviousPlayer.OnReplayStopped();
            }

            Player.Prepare();

            for (int i = 0; i < Balls.Count; i++)
            {
                Balls[i].OnReplayStopped();
            }
        }