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

#include <World_Event.hpp>

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

Public Types

enum  EVENT_TYPE {
  EVENT_NONE, EVENT_WORLD_CREATED, EVENT_ITEM_CREATED, EVENT_TRIBAL_SPLIT,
  EVENT_TRIBE_BECOME_CIV, EVENT_SETTLEMENT_SPLIT, EVENT_NEW_LEADER, EVENT_DEITY_ACT,
  EVENT_TECH_BREAKTHROUGH, EVENT_SOCIAL
}
 

Public Member Functions

 Event ()
 
 Event (std::string _eventDescription, EVENT_TYPE _eventType)
 
virtual ~Event ()
 
std::string getEventTypeStr () const
 
std::string getColumn (std::string _column) override
 
std::string getColumnType (std::string _column) override
 
virtual std::string getLongDescription ()
 

Public Attributes

std::string eventDescription
 

Member Enumeration Documentation

◆ EVENT_TYPE

Enumerator
EVENT_NONE 
EVENT_WORLD_CREATED 
EVENT_ITEM_CREATED 
EVENT_TRIBAL_SPLIT 
EVENT_TRIBE_BECOME_CIV 
EVENT_SETTLEMENT_SPLIT 
EVENT_NEW_LEADER 
EVENT_DEITY_ACT 
EVENT_TECH_BREAKTHROUGH 
EVENT_SOCIAL 

Constructor & Destructor Documentation

◆ Event() [1/2]

Event::Event ( )

◆ Event() [2/2]

Event::Event ( std::string  _eventDescription,
EVENT_TYPE  _eventType 
)

◆ ~Event()

Event::~Event ( )
virtual

Member Function Documentation

◆ getColumn()

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

◆ getColumnType()

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

◆ getEventTypeStr()

std::string Event::getEventTypeStr ( ) const

◆ getLongDescription()

std::string Event::getLongDescription ( )
virtual

Member Data Documentation

◆ eventDescription

std::string Event::eventDescription

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