Interface PlayerStatistic
@NonExtendable
public interface PlayerStatistic
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDeaths
(int deaths) void
addDestroyedBeds
(int destroyedBeds) void
addKills
(int kills) void
addLoses
(int loses) void
addScore
(int score) void
addWins
(int wins) int
int
int
getGames()
double
getKD()
int
getKills()
int
getLoses()
getName()
int
getScore()
getUuid()
int
getWins()
-
Method Details
-
getDeaths
int getDeaths()- Returns:
- player's deaths
-
getDestroyedBeds
int getDestroyedBeds()- Returns:
- number of beds destroyed by this player
-
getKills
int getKills()- Returns:
- player's kills
-
getLoses
int getLoses()- Returns:
- player's loses
-
getName
String getName()- Returns:
- player's name
-
getScore
int getScore()- Returns:
- player's score
-
getUuid
UUID getUuid()- Returns:
- uuid of this player
-
getWins
int getWins()- Returns:
- number of wins
-
getKD
double getKD()- Returns:
- K/D ratio
-
getGames
int getGames()- Returns:
- number of played games
-
addDeaths
void addDeaths(int deaths) - Parameters:
deaths
- Number of new deaths
-
addDestroyedBeds
void addDestroyedBeds(int destroyedBeds) - Parameters:
destroyedBeds
- Number of new destroyed beds
-
addKills
void addKills(int kills) - Parameters:
kills
- Number of new kills
-
addLoses
void addLoses(int loses) - Parameters:
loses
- Number of new loses
-
addScore
void addScore(int score) - Parameters:
score
- Number of new score
-
addWins
void addWins(int wins) - Parameters:
wins
- Number of new wins
-