draw method

bool draw(
  1. int n
)

Implementation

bool draw(int n) {
  if (deck.length < n) return false;
  _cards.pushN(n, deck.popN(n));
  return true;
}