Add a jsdoc to the reset method

This commit is contained in:
Oliver-Akins 2022-01-09 01:20:24 -06:00
parent 34eb19e340
commit 8f671d33cf

View file

@ -58,6 +58,9 @@ export class Deck<T> {
};
/**
* Resets all of the cards in the deck and puts them back in the draw pile
*/
public reset() {
this._deck.push(...this._discard, ...this._unknown);
this._discard = [];