Player12
An open source football management simulator
Loading...
Searching...
No Matches
inbox_dilemma_card.h File Reference
#include <optional>
#include <string>
#include <vector>
#include "model/stories.h"

Go to the source code of this file.

Classes

struct  InboxDilemmaCard::EffectLine
 One effect line; sign tells a gain (+1) from a cost (-1). More...
 

Namespaces

namespace  InboxDilemmaCard
 The two answers of a decision moment in the inbox: each answer lists what it will do (morale, trust, match fitness, money) before the manager picks it.
 

Functions

std::vector< EffectLine > InboxDilemmaCard::effectLines (const DilemmaEffects &effects, const std::string &subject, const std::string &other)
 Localised effect lines of an answer, e.g. "Morale of Rossi: +5", "Club cost: €12K". subject and other name the players involved.
 
std::optional< int > InboxDilemmaCard::render (GameController &controller)
 Draws the answers of the open moment in the current card.