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

#include <Idea.hpp>

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

Public Types

enum  TYPE { ADAMANTINE, ENUM_COUNT }
 
- Public Types inherited from Idea
enum  IDEA_TYPE {
  IDEA_NONE, IDEA_MINING, IDEA_SMELTING, IDEA_MANUFACTURING,
  IDEA_ASTRONOMY, IDEA_MILITARY, IDEA_AGRICULTURE, ENUM_COUNT
}
 

Public Member Functions

 SpecialIdea (Character *originator, IDEA_TYPE type)
 
std::string discoveryText ()
 
- Public Member Functions inherited from Idea
 Idea (Character *_originator, IDEA_TYPE _type)
 
 Idea (const Idea &other)
 
Ideaoperator= (const Idea &other)
 
bool operator== (const Idea &other) const
 
std::string ideaToString (IDEA_TYPE idea)
 

Public Attributes

std::string biographyText
 
- Public Attributes inherited from Idea
int id
 
Characteroriginator
 
bool isSpecialIdea
 
IDEA_TYPE type
 

Additional Inherited Members

- Static Public Attributes inherited from Idea
static int lastID = 0
 

Member Enumeration Documentation

◆ TYPE

Enumerator
ADAMANTINE 
ENUM_COUNT 

Constructor & Destructor Documentation

◆ SpecialIdea()

SpecialIdea::SpecialIdea ( Character originator,
IDEA_TYPE  type 
)

Member Function Documentation

◆ discoveryText()

std::string SpecialIdea::discoveryText ( )

Member Data Documentation

◆ biographyText

std::string SpecialIdea::biographyText

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