WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Tribe_Dwarven.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef WORLDSIM_TRIBE_DWARVEN_HPP
3 #define WORLDSIM_TRIBE_DWARVEN_HPP
4 
5 /* Tribe_Dwarven.hpp
6  #include "Tribe_Dwarven.hpp"
7 
8  Description:
9  Tribes are nomadic groups. They wander the map trying to survive until they develop enough to become a civilization. Dwarven tribes build fortresses into mountains, and typically stay there growing crops and manufacturing items.
10 
11 */
12 
13 #include "Government.cpp"
14 
15 #include "Character.hpp"
16 
17 class World;
18 
19 #include "WorldObjectGlobal.hpp"
20 
21 #include <Container/Table/TableInterface.hpp>
22 
23 
24 class Tribe_Dwarven: public Tribe
25 {
26 public:
28 
29  //RandomNonStatic random;
30 
31  Tribe_Dwarven();
32 
33  bool spawn();
34 
35  /* SIMULATE X TURNS OF THE CIV. */
36  void incrementTicks ( int /* nTicks */ );
37 
38  void wander();
39 
40  Texture* currentTexture();
41 };
42 #endif
bool spawn()
Definition: Tribe_Dwarven.cpp:31
Definition: World.hpp:50
Definition: Tribe_Dwarven.hpp:24
Texture * currentTexture()
Definition: Tribe_Dwarven.cpp:155
Government government
Definition: Tribe_Dwarven.hpp:27
void wander()
Definition: Tribe_Dwarven.cpp:126
void incrementTicks(int)
Definition: Tribe_Dwarven.cpp:68
Definition: Tribe.hpp:23
Tribe_Dwarven()
Definition: Tribe_Dwarven.cpp:25
Definition: Government.hpp:14