C# 클래스 BalloonsPop.Highscore.HighscoreHandlingStrategies.XmlHandlingStrategy

Implements high score handling (saving and loading) in an XML format
상속: IHighscoreHandlingStrategy
파일 보기 프로젝트 열기: Baloons-Pop-4/Main

공개 메소드들

메소드 설명
Load ( ) : IHighscoreTable

Loads a IHighscoreTable from a XML formatted file.

Save ( IHighscoreTable table ) : void

Saves a IHighscoreTable to a XML formatted file.

XmlHandlingStrategy ( string fileName ) : System

Initializes a new instance of the XmlHandlingStrategy class.

메소드 상세

Load() 공개 메소드

Loads a IHighscoreTable from a XML formatted file.
public Load ( ) : IHighscoreTable
리턴 IHighscoreTable

Save() 공개 메소드

Saves a IHighscoreTable to a XML formatted file.
public Save ( IHighscoreTable table ) : void
table IHighscoreTable The concrete implementation of a table.
리턴 void

XmlHandlingStrategy() 공개 메소드

Initializes a new instance of the XmlHandlingStrategy class.
public XmlHandlingStrategy ( string fileName ) : System
fileName string The name of the file to be used for loading and saving.
리턴 System