private void DecisionProcess() { state = DecisionControllerState.WaitingForChoice; // Place the choices ShowChoices(); }
private void OnChoiceMade(Decision decision) { choice = decision; state = DecisionControllerState.DisplayingResult; time = 0.0f; // Post a message to notify all other components that a choice was made Message message = new Message((int)MessageDestination.DECISION_CHOICE_MADE, "", choice); Controller.PropagateMessage(message); // Hide the choices HideChoices(); // Show the feedback ShowFeedback(); }
private void StartDisplay() { state = DecisionControllerState.DisplayingResult; }
private void ResetState() { state = DecisionControllerState.Inactive; }