C# Class TheAirline.Helpers.ScenarioHelpers

Show file Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
SetupScenario ( Scenario scenario ) : void
UpdateScenario ( ScenarioObject scenario ) : void

Private Methods

Method Description
EndScenario ( ScenarioFailure failure ) : void
SetupHumanAirline ( Scenario scenario ) : void
SetupOpponentAirline ( ScenarioAirline airline ) : void
SetupScenario ( ) : void
SetupScenarioAirlines ( Scenario scenario ) : void
SetupScenarioAirport ( Airline airline, Airport airport, int quantity = 2 ) : void
SetupScenarioPassengerDemand ( Scenario scenario ) : void
SetupScenarioRoute ( ScenarioAirlineRoute saroute, Airline airline ) : void
UpdateFailureValue ( ScenarioObject scenario, ScenarioFailure failure ) : bool
UpdatePassengerDemands ( ScenarioObject scenario ) : void

Method Details

SetupScenario() public static method

public static SetupScenario ( Scenario scenario ) : void
scenario TheAirline.Models.General.Scenarios.Scenario
return void

UpdateScenario() public static method

public static UpdateScenario ( ScenarioObject scenario ) : void
scenario ScenarioObject
return void