C# Class TheAirline.Helpers.LoadSaveHelpers

Mostra file Open project: TheAirlineProject/tap-desktop

Public Methods

Method Description
DeleteGame ( string name ) : void
GetSavedGames ( ) : List
LoadGame ( string name ) : void
SaveGame ( string file ) : void

Private Methods

Method Description
LoadAirline ( XmlElement airlineNode ) : void
LoadRoute ( XmlElement routeNode, Airline airline, Route routetype = Route.RouteType.Passenger ) : Route
SaveRoute ( XmlDocument xmlDoc, Route route ) : XmlElement

Method Details

DeleteGame() public static method

public static DeleteGame ( string name ) : void
name string
return void

GetSavedGames() public static method

public static GetSavedGames ( ) : List
return List

LoadGame() public static method

public static LoadGame ( string name ) : void
name string
return void

SaveGame() public static method

public static SaveGame ( string file ) : void
file string
return void