C# Class TheAirline.Models.General.RandomEvents

Exibir arquivo Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
AddEvent ( RandomEvent rEvent ) : void
Clear ( ) : void
GetEvent ( string name ) : RandomEvent
GetEvents ( ) : List
GetEvents ( RandomEvent type ) : List
GetEvents ( RandomEvent type, int number, Airline airline ) : List

Method Details

AddEvent() public static method

public static AddEvent ( RandomEvent rEvent ) : void
rEvent RandomEvent
return void

Clear() public static method

public static Clear ( ) : void
return void

GetEvent() public static method

public static GetEvent ( string name ) : RandomEvent
name string
return RandomEvent

GetEvents() public static method

public static GetEvents ( ) : List
return List

GetEvents() public static method

public static GetEvents ( RandomEvent type ) : List
type RandomEvent
return List

GetEvents() public static method

public static GetEvents ( RandomEvent type, int number, Airline airline ) : List
type RandomEvent
number int
airline TheAirline.Models.Airlines.Airline
return List