-
Notifications
You must be signed in to change notification settings - Fork 0
/
SynopsisDestiny.h
45 lines (42 loc) · 1.42 KB
/
SynopsisDestiny.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#pragma once
#include "Enums.h"
#include "Scene.h"
#include <vector>
#include <string>
#include <iostream>
class Destiny {
private:
std::string name;
std::string description;
bool inHand;
public:
Destiny(std::string n, std::string d, bool i) { name = n; description = d; inHand = i; };
std::string getName() { return name; };
std::string getDescription() { return description; };
std::string printFull();
bool getIn() { return inHand; };
void setName(std::string n) { name = n; };
void setDescription(std::string d) { description = d; };
void changeIn() { inHand = !inHand; };
};
class Synopsis{
private:
std::string title;
std::vector<Destiny> destinies;
std::vector<Scene> scenes;
std::vector<int> starting_hand;
public:
Synopsis();
Synopsis(std::string t, std::vector<Destiny> d);
std::string getTitle() { return title; };
std::vector<Destiny> getDestinies() { return destinies; };
std::vector<Scene> getScenes() { return scenes; };
std::vector<int> getStarting() { return starting_hand; };
void setTitle(std::string t) { title = t; };
void setDestinies(std::vector<Destiny> d) { destinies = d; };
void setScenes(std::vector<Scene> s) { scenes = s; };
void setStarting(int s1, int s2, int s3) { starting_hand.push_back(s1); starting_hand.push_back(s2); starting_hand.push_back(s3); };
std::string printFull();
};
std::vector<Destiny> getDestinies();
Synopsis selectSynopsis();