-
Notifications
You must be signed in to change notification settings - Fork 0
/
SynopsisDestiny.cpp
61 lines (48 loc) · 2.27 KB
/
SynopsisDestiny.cpp
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include "SynopsisDestiny.h"
#include "Enums.h"
#include "Scene.h"
#include <vector>
#include <string>
#include <iostream>
Synopsis::Synopsis(){
title = "test";
std::vector<Destiny> d;
destinies = d;
std::vector<Scene> scenes;
std::vector<int> starting_hand;
}
Synopsis::Synopsis(std::string t, std::vector<Destiny> d) {
title = t;
destinies = d;
std::vector<Scene> scenes;
std::vector<int> starting_hand;
};
std::string Synopsis::printFull() {
std::string x = title + "\nDestinies in hand: " ;
for (int i = 0; i < destinies.size(); i++) {
x = x + destinies.at(i).getName() + " | ";
}
x = x + "\nStarting hand: " + std::to_string(starting_hand[0]) + " Sweet | " + std::to_string(starting_hand[1]) + " Serious | " + std::to_string(starting_hand[2]) + " Drama\n";
return x;
};
std::string Destiny::printFull() {
std::string x = name + ". " + description + "\n";
return x;
}
std::vector<Destiny> getDestinies() {
Destiny dominant = Destiny{ "DOMINANT", "You will stay in the relationship, but you will only be happy if you have the upper hand. ", true};
Destiny equalPartners = Destiny{"EQUAL PARTNERS", "You will stay in the relationship, but you will only be happy if you are a team of equals. ", true};
Destiny loveTeam = Destiny{ "LOVE TEAM", "You will stay in the relationship, but your happiness depends on your shared outcomes. ", true};
Destiny unconditionalLove = Destiny{ "UNCONDITIONAL LOVE", "You will stay in the relationship, but you will only be happy if your partner is happy. ", true};
Destiny honorableExit = Destiny{ "HONORABLE EXIT", "You break up, because you weren\'t meant for each other." ,false};
Destiny heartbreaker = Destiny{ "HEARTBREAKER", "You break up, because that\'s what you do.", false};
Destiny selfRealization = Destiny{ "SELF-REALIZATION", "You will stay in the relationship, but you will only be happy if you satisfy your needs. ", false };
std::vector<Destiny> destinies = { dominant, equalPartners, loveTeam, unconditionalLove, honorableExit, heartbreaker, selfRealization};
return destinies;
};
Synopsis selectSynopsis() {
std::vector<Destiny> destinies = getDestinies();
Synopsis s = Synopsis("Sunday Morning Date", destinies);
s.setStarting(3, 1, 1);
return s;
};