added scores and translations

This commit is contained in:
2026-02-01 17:37:37 +01:00
parent d0031b4ea5
commit 05240660f2
3 changed files with 25 additions and 21 deletions

View File

@@ -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)));
}