WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
Mythology Class Reference

#include <Mythology.hpp>

Inheritance diagram for Mythology:
Inheritance graph
[legend]
Collaboration diagram for Mythology:
Collaboration graph
[legend]

Public Types

enum  mythology_type {
  MYTHOLOGY_NONE, MYTHOLOGY_SPIRITUAL, MYTHOLOGY_MONOTHEISTIC, MYTHOLOGY_POLYTHEISTIC,
  MYTHOLOGY_PAGAN
}
 

Public Member Functions

 Mythology ()
 
void generateBase ()
 
void generateBaseDwarven ()
 
void generateBaseElven ()
 
void generateBaseHuman ()
 
void addDeity (std::string, Mythology_Deity::PERSONALITY)
 
void increment ()
 
std::string getType ()
 
std::string getDescription ()
 
std::string getColumn (std::string _column) override
 
std::string getColumnType (std::string _column) override
 
virtual std::string getLongDescription ()
 

Public Attributes

std::string name
 
mythology_type type
 
enumRace race
 

Protected Attributes

Worldworld
 

Member Enumeration Documentation

◆ mythology_type

Enumerator
MYTHOLOGY_NONE 
MYTHOLOGY_SPIRITUAL 
MYTHOLOGY_MONOTHEISTIC 
MYTHOLOGY_POLYTHEISTIC 
MYTHOLOGY_PAGAN 

Constructor & Destructor Documentation

◆ Mythology()

Mythology::Mythology ( )

Member Function Documentation

◆ addDeity()

void Mythology::addDeity ( std::string  _name,
Mythology_Deity::PERSONALITY  _type 
)

◆ generateBase()

void Mythology::generateBase ( )

◆ generateBaseDwarven()

void Mythology::generateBaseDwarven ( )

◆ generateBaseElven()

void Mythology::generateBaseElven ( )

◆ generateBaseHuman()

void Mythology::generateBaseHuman ( )

◆ getColumn()

std::string Mythology::getColumn ( std::string  _column)
override

◆ getColumnType()

std::string Mythology::getColumnType ( std::string  _column)
override

◆ getDescription()

std::string Mythology::getDescription ( )

◆ getLongDescription()

std::string Mythology::getLongDescription ( )
virtual

Reimplemented in Mythology_Dwarven.

◆ getType()

std::string Mythology::getType ( )

◆ increment()

void Mythology::increment ( )

Member Data Documentation

◆ name

std::string Mythology::name

◆ race

enumRace Mythology::race

◆ type

mythology_type Mythology::type

◆ world

World* Mythology::world
protected

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