Example #1
0
        private void HandleToggleResume(TogglePause obj)
        {
            this.SetPauseButtonText(false);
            this.UnbecomeStacked();

            this.Stash.UnstashAll();
        }
 private void HandlePauseToggle(TogglePause toggle)
 {
     _chartActor.Tell(toggle);
     _toggleCoordinatorActor.Tell(toggle);
 }
Example #3
0
        private void HandleTogglePauseMessage(TogglePause toggle)
        {
            paused = !paused;

            toggle.Button.Text = paused ? "RESUME ▷" : "PAUSE ||";
        }
 public void SubscribeToPause(TogglePause subscriber)
 {
     this.PauseEvent += subscriber;
 }
Example #5
0
 private void HandlePauseToggle(TogglePause toggle)
 {
     pauseToggleActor.Tell(toggle);
 }
Example #6
0
 private void HandleTogglePause(TogglePause toggle)
 {
     this.SetPauseButtonText(true);
     this.BecomeStacked(this.Paused);
 }