From 8f671d33cf56789267b7646f9f62ac77163464c4 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Sun, 9 Jan 2022 01:20:24 -0600 Subject: [PATCH] Add a jsdoc to the reset method --- server/src/objects/Deck.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/objects/Deck.ts b/server/src/objects/Deck.ts index ee1429b..528439a 100644 --- a/server/src/objects/Deck.ts +++ b/server/src/objects/Deck.ts @@ -58,6 +58,9 @@ export class Deck { }; + /** + * 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 = [];