12 #ifndef PLAYING_CARD_H
13 #define PLAYING_CARD_H
Defines the cards types for the card duel.
Type
All possible effects that a playing card could have.
Definition: card_types.h:22
Class to define the playing card object.
Definition: playing_card.h:24
int getValue()
Returns the value of the card.
Definition: playing_card.cpp:34
enum Type getType()
Returns the target of the card.
Definition: playing_card.cpp:39
bool operator==(PlayingCard &other)
Compares another PlayingCard object to this.
Definition: playing_card.cpp:25
std::string toString()
Converts this PlayingCard object to string.
Definition: playing_card.cpp:44
PlayingCard()
Construct a new Playing Card object.
Definition: playing_card.cpp:19
Contains useful helper functions.