C# Класс BalloonsPop.Highscore.HighscoreTable

Holds the logic for manipulating a list of player scores.
Наследование: IHighscoreTable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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