Interface PlayerStatistic
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) default int
Deprecated.default int
Deprecated.default int
Deprecated.default double
Deprecated.default int
Deprecated.default int
Deprecated.default int
Deprecated.default int
Deprecated.int
int
int
getGames()
double
getKD()
int
getKills()
int
getLoses()
getName()
int
getScore()
getUuid()
int
getWins()
default void
setCurrentDeaths
(int currentDeaths) Deprecated.default void
setCurrentDestroyedBeds
(int currentDestroyedBeds) Deprecated.default void
setCurrentKills
(int currentKills) Deprecated.default void
setCurrentLoses
(int currentLoses) Deprecated.default void
setCurrentScore
(int currentScore) Deprecated.default void
setCurrentWins
(int currentWins) Deprecated.
-
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
-
getCurrentDeaths
Deprecated.- See Also:
-
setCurrentDeaths
Deprecated.- See Also:
-
getCurrentDestroyedBeds
Deprecated.- See Also:
-
setCurrentDestroyedBeds
Deprecated.- See Also:
-
getCurrentKills
Deprecated.- See Also:
-
setCurrentKills
Deprecated.- See Also:
-
getCurrentLoses
Deprecated.- See Also:
-
setCurrentLoses
Deprecated.- See Also:
-
getCurrentScore
Deprecated.- See Also:
-
setCurrentScore
Deprecated.- See Also:
-
getCurrentWins
Deprecated.- See Also:
-
setCurrentWins
Deprecated.- See Also:
-
getCurrentKD
Deprecated.- See Also:
-
getCurrentGames
Deprecated.- See Also:
-