Symphony Of Empires
TreatyClause::Puppet Class Reference

#include <diplomacy.hpp>

Inheritance diagram for TreatyClause::Puppet:
Collaboration diagram for TreatyClause::Puppet:

Public Member Functions

 Puppet ()
 
unsigned cost ()
 
void enforce ()
 
bool in_effect () const
 
- Public Member Functions inherited from TreatyClause::BaseClause
 BaseClause ()=default
 
 BaseClause (const Nation &_sender, const Nation &_receiver)
 
virtual ~BaseClause ()=default
 

Additional Inherited Members

- Public Attributes inherited from TreatyClause::BaseClause
enum TreatyClauseType type
 
NationId sender_id
 
NationId receiver_id
 
size_t days_duration = 0
 
bool done = false
 

Detailed Description

Definition at line 165 of file diplomacy.hpp.

Constructor & Destructor Documentation

◆ Puppet()

TreatyClause::Puppet::Puppet ( )
inline

Definition at line 167 of file diplomacy.hpp.

Member Function Documentation

◆ cost()

unsigned TreatyClause::Puppet::cost ( )
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 148 of file diplomacy.cpp.

◆ enforce()

void TreatyClause::Puppet::enforce ( )
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 152 of file diplomacy.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ in_effect()

bool TreatyClause::Puppet::in_effect ( ) const
virtual

Reimplemented from TreatyClause::BaseClause.

Definition at line 158 of file diplomacy.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: