From 5b480b1ce2d5d71231e635776614cece5e9667c1 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sat, 28 Mar 2020 17:39:25 +0100 Subject: Cleanup --- sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw-engine') diff --git a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt index 8cdda393..931360d6 100644 --- a/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt +++ b/sw-engine/src/main/kotlin/org/luxons/sevenwonders/engine/Game.kt @@ -182,6 +182,6 @@ class Game internal constructor( */ fun computeScore(): ScoreBoard = ScoreBoard(table.boards.map { it.computeScore(players[it.playerIndex]) }) - private class MissingPreparedMoveException internal constructor(playerIndex: Int) : + private class MissingPreparedMoveException(playerIndex: Int) : IllegalStateException("Player $playerIndex has not prepared his move") } -- cgit