TDT4102-Ovinger/Oving5/Oving 5/CardDeck.h

19 lines
262 B
C++

#pragma once
#include "Card.h"
class CardDeck
{
public:
CardDeck();
void print();
void printShort();
void shuffle(int depth = 10000);
const Card& drawCard();
private:
vector<Card> cards;
int currentCardIndex;
void swap(int fromIndex, int toIndex);
};