Interface DependentInstance


public interface DependentInstance
A dependent instance takes account of some other instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    win(List<ScenarioResult> results, Command command)
    Notifies the scenario that there are conflicting loosing scenarios.
  • Method Details

    • win

      Command win(List<ScenarioResult> results, Command command)
      Notifies the scenario that there are conflicting loosing scenarios.

      The winning scenario may modify its behavior to take account of the loosers.

      Parameters:
      results -
      command -
      Returns:
      the new command