Symphony Of Empires
Nation::Relation Struct Reference

Diplomatic relations between two nations. More...

#include <nation.hpp>

Public Member Functions

bool is_allied () const
 
bool is_customs_union () const
 
bool has_landpass () const
 

Public Attributes

float relation = 0.f
 
bool has_war = false
 
float alliance = 0.f
 

Detailed Description

Diplomatic relations between two nations.

Definition at line 62 of file nation.hpp.

Member Function Documentation

◆ has_landpass()

bool Nation::Relation::has_landpass ( ) const
inline

Definition at line 71 of file nation.hpp.

◆ is_allied()

bool Nation::Relation::is_allied ( ) const
inline

Definition at line 63 of file nation.hpp.

◆ is_customs_union()

bool Nation::Relation::is_customs_union ( ) const
inline

Definition at line 67 of file nation.hpp.

Member Data Documentation

◆ alliance

float Nation::Relation::alliance = 0.f

Definition at line 77 of file nation.hpp.

◆ has_war

bool Nation::Relation::has_war = false

Definition at line 76 of file nation.hpp.

◆ relation

float Nation::Relation::relation = 0.f

Definition at line 75 of file nation.hpp.


The documentation for this struct was generated from the following file: