added scores and translations
This commit is contained in:
@@ -30,6 +30,11 @@ public abstract class Score {
|
||||
throw new NotImplementedException("This Score type is not able to process points");
|
||||
}
|
||||
|
||||
public void insertMultiple(Set<Player> p) {
|
||||
p.forEach(player -> this.insertResultProcessor(player, () -> {}));
|
||||
this.insertResultImplementation(p);
|
||||
}
|
||||
|
||||
public void insertResult(Player p) {
|
||||
this.insertResultProcessor(p, () -> this.insertResultImplementation(Set.of(p)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user