C# 클래스 TheAirline.Models.General.Scenarios.Scenario

상속: BaseModel
파일 보기 프로젝트 열기: TheAirlineProject/tap-desktop 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Scenario System

공개 메소드들

메소드 설명
AddDestination ( Airport destination ) : void
AddFleet ( AirlinerType type, int quantity ) : void
AddOpponentAirline ( ScenarioAirline airline ) : void
AddPassengerDemand ( ScenarioPassengerDemand demand ) : void
AddRoute ( ScenarioAirlineRoute route ) : void
AddScenarioFailure ( ScenarioFailure failure ) : void
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
Scenario ( string name, string description, Airline airline, Airport homebase, int startyear, int endyear, long startcash, DifficultyLevel difficulty ) : System

비공개 메소드들

메소드 설명
Scenario ( SerializationInfo info, StreamingContext ctxt ) : System

메소드 상세

AddDestination() 공개 메소드

public AddDestination ( Airport destination ) : void
destination TheAirline.Models.Airports.Airport
리턴 void

AddFleet() 공개 메소드

public AddFleet ( AirlinerType type, int quantity ) : void
type TheAirline.Models.Airliners.AirlinerType
quantity int
리턴 void

AddOpponentAirline() 공개 메소드

public AddOpponentAirline ( ScenarioAirline airline ) : void
airline ScenarioAirline
리턴 void

AddPassengerDemand() 공개 메소드

public AddPassengerDemand ( ScenarioPassengerDemand demand ) : void
demand ScenarioPassengerDemand
리턴 void

AddRoute() 공개 메소드

public AddRoute ( ScenarioAirlineRoute route ) : void
route ScenarioAirlineRoute
리턴 void

AddScenarioFailure() 공개 메소드

public AddScenarioFailure ( ScenarioFailure failure ) : void
failure ScenarioFailure
리턴 void

GetObjectData() 공개 메소드

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
리턴 void

Scenario() 공개 메소드

public Scenario ( string name, string description, Airline airline, Airport homebase, int startyear, int endyear, long startcash, DifficultyLevel difficulty ) : System
name string
description string
airline Airline
homebase Airport
startyear int
endyear int
startcash long
difficulty DifficultyLevel
리턴 System