Civilization
Card.hpp
1 // Generated by dia2code
2 #ifndef SHARED__CARD__H
3 #define SHARED__CARD__H
4 
5 
6 #include "CardsEnum.hpp"
7 
8 namespace shared {
9 
11 
12  class Card {
13  // Attributes
14  public:
15  CardsEnum type;
16  unsigned level;
17  unsigned dificulty;
18  unsigned numberOfBox;
19  // Operations
20  public:
21  Card (CardsEnum type, unsigned difficulty, unsigned numberOfBox);
22  CardsEnum getType ();
23  unsigned getLevel ();
24  unsigned getNumberOfBox ();
25  unsigned getDificulty ();
26  void setDificulty (unsigned newDificulty);
27  void addLevel ();
28  void addBox (unsigned numberOfBoxToAdd);
29  void deleteBox (unsigned numberOfBox);
30  // Setters and Getters
31  };
32 
33 };
34 
35 #endif
class Card - Is dynamically allocated
Definition: Card.hpp:12