WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Mythology_Deity.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef WORLDSIM_MYTHOLOGY_DEITY_HPP
3 #define WORLDSIM_MYTHOLOGY_DEITY_HPP
4 
5 /* WorldSim: Mythology_Deity
6  #include "Mythology_Deity.hpp"
7 
8  Deities are immortal characters who can peform very powerful actions.
9 */
10 
11 class World;
12 
13 
14 // The deities of the world (non-mortal characters)
16 {
17  public:
18  std::string name; // The name of the Deity
19 
21  enum ALIGNMENT { GOOD, FLAWED, EVIL };
22  // There could potentially also be a sanity option
23 
24  // A god can have a certain number of people it looks after.
25  Vector <Character*> vObservedCharacters;
26 
28 
30 
31  // Deity can access the world and act in it.
32  // Generally this should take the form of "favouring" somebody, which could turn them into a saint
33 
34  // What actions could deities make?
35  // * Favour an individual - Give them items, stat increase, give them knowledge, make them a saint/prophet.
36  void act();
37 
38 };
39 
40 #endif
ALIGNMENT
Definition: Mythology_Deity.hpp:21
Definition: World.hpp:50
Definition: Mythology_Deity.hpp:21
World * world
Definition: Mythology_Deity.hpp:27
Vector< Character * > vObservedCharacters
Definition: Mythology_Deity.hpp:25
Definition: Mythology_Deity.hpp:21
PERSONALITY
Definition: Mythology_Deity.hpp:20
Definition: Mythology_Deity.hpp:20
Definition: Mythology_Deity.hpp:20
Mythology_Deity()
Definition: Mythology_Deity.cpp:17
Definition: Mythology_Deity.hpp:20
Definition: Mythology_Deity.hpp:21
void act()
Definition: Mythology_Deity.cpp:28
std::string name
Definition: Mythology_Deity.hpp:18
Definition: Mythology_Deity.hpp:15
Definition: Mythology_Deity.hpp:20