@ParametersAreNonnullByDefault public abstract class NukkitScorer extends Object implements Scorer
Scorer.Type| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
OptionalInt |
getScoreIn(Objective objective) |
int |
hashCode() |
void |
modifyScoreIn(Objective objective,
ModifyScoreFunction function) |
void |
resetScoreIn(Objective objective) |
void |
setScoreIn(Objective objective,
int score) |
String |
toString() |
@Nonnull public OptionalInt getScoreIn(Objective objective)
getScoreIn in interface Scorerpublic void resetScoreIn(Objective objective)
resetScoreIn in interface Scorerpublic void setScoreIn(Objective objective, int score)
setScoreIn in interface Scorerpublic void modifyScoreIn(Objective objective, ModifyScoreFunction function)
modifyScoreIn in interface ScorerCopyright © 2017–2019 NukkitX. All rights reserved.