remove unused parameter

This commit is contained in:
Halit Aksoy 2022-07-28 18:09:19 +03:00
parent b395c6974d
commit b7945b24f6

View File

@ -42,7 +42,7 @@ export default class PitAnimator {
this.onBoardViewModelUpdate?.(this.getBoardViewModelFromGame(this.game)); this.onBoardViewModelUpdate?.(this.getBoardViewModelFromGame(this.game));
} }
public setUpdatedGame(game: MancalaGame, forceClear = false) { public setUpdatedGame(game: MancalaGame) {
this.resetAnimationState(); this.resetAnimationState();
if (!this.game) { if (!this.game) {
this.setNewGame(game); this.setNewGame(game);