C# Class TheAirline.Models.General.RandomEvents

Afficher le fichier Open project: TheAirlineProject/tap-desktop

Méthodes publiques

Méthode 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 méthode

public static AddEvent ( RandomEvent rEvent ) : void
rEvent RandomEvent
Résultat void

Clear() public static méthode

public static Clear ( ) : void
Résultat void

GetEvent() public static méthode

public static GetEvent ( string name ) : RandomEvent
name string
Résultat RandomEvent

GetEvents() public static méthode

public static GetEvents ( ) : List
Résultat List

GetEvents() public static méthode

public static GetEvents ( RandomEvent type ) : List
type RandomEvent
Résultat List

GetEvents() public static méthode

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