added timeout for tetris and display points at end of PointsWinScore

This commit is contained in:
2024-10-23 17:26:31 +02:00
parent f838317af0
commit 73a374e529
5 changed files with 67 additions and 14 deletions

View File

@@ -103,6 +103,8 @@ public abstract class Score {
return isClosed;
}
public void close() { isClosed = true; }
protected void onGameEnd() {
this.instance.stop();
}