C# 클래스 BalloonsPop.Highscore.HighscoreTable

Holds the logic for manipulating a list of player scores.
상속: IHighscoreTable
파일 보기 프로젝트 열기: Baloons-Pop-4/Main 1 사용 예제들

공개 메소드들

메소드 설명
AddPlayer ( PlayerScore score ) : void

Adds a player to a HighscoreTable.

CanAddPlayer ( int movesCount ) : bool

Checks if a player can be added to a HighscoreTable.

HighscoreTable ( List playerScores = null ) : System

Initializes a new instance of the HighscoreTable class.

메소드 상세

AddPlayer() 공개 메소드

Adds a player to a HighscoreTable.
public AddPlayer ( PlayerScore score ) : void
score PlayerScore An instance of a class that implements the PlayerScore interface.
리턴 void

CanAddPlayer() 공개 메소드

Checks if a player can be added to a HighscoreTable.
public CanAddPlayer ( int movesCount ) : bool
movesCount int The amount of moves a player has.
리턴 bool

HighscoreTable() 공개 메소드

Initializes a new instance of the HighscoreTable class.
public HighscoreTable ( List playerScores = null ) : System
playerScores List A list of player scores
리턴 System