-
Notifications
You must be signed in to change notification settings - Fork 128
Add resetDeck method #102
Copy link
Copy link
Open
Description
In order to reset all the internal state and start from index 0, I would like to have the internal initDeck method exposed, e.g. as a resetDeck method.
I think the following should be enough. Not sure though about any possible side effects here?
resetDeck() {
this.initDeck();
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels