Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <string>
- class Cards
- {
- private:
- string name;
- string mana;
- string type;
- int cmc;
- int count;
- public:
- string Cards::getName() {
- return this->name;
- }
- void Cards::setName(string n) {
- this->name = n;
- }
- void Cards::setMana(string m) {
- this->mana = m;
- }
- void Cards::setCmc(int c) {
- this->cmc = c;
- }
- void Cards::setType(string t) {
- this->type = t;
- }
- void Cards::setCount(int c) {
- this->count = c;
- }
- string Cards::getMana() {
- return this->mana;
- }
- int Cards::getCmc() {
- return this->cmc;
- }
- string Cards::getType() {
- return this->type;
- }
- int Cards::getCount() {
- return this->count;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement