WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Tribe_Elf.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef WORLDSIM_TRIBE_ELF_HPP
3 #define WORLDSIM_TRIBE_ELF_HPP
4 
5 /* WorldSim: Tribe_Elf.hpp
6 #include "Tribe_Elf.hpp"
7 
8  Description:
9  Tribes are nomadic groups. They wander the map trying to survive until they develop enough to become a civilization.
10  Elven tribes live in forests and jungles. They know a lot about the magic arts.
11 
12 */
13 
14 #include "Character.hpp"
15 
16 class World;
17 
18 #include "WorldObjectGlobal.hpp"
19 
20 #include <Container/Table/TableInterface.hpp>
21 
22 
23 class Tribe_Elf: public Tribe
24 {
25 public:
26 
27  //RandomNonStatic random;
28 
29  Tribe_Elf();
30 
31  bool spawn();
32 
33  /* SIMULATE X TURNS OF THE CIV. */
34  void incrementTicks ( int /* nTicks */ );
35 
36  void wander();
37 
38  Texture* currentTexture();
39 };
40 
41 #endif
bool spawn()
Definition: Tribe_Elf.cpp:30
void incrementTicks(int)
Definition: Tribe_Elf.cpp:72
Texture * currentTexture()
Definition: Tribe_Elf.cpp:154
Definition: World.hpp:50
Definition: Tribe_Elf.hpp:23
void wander()
Definition: Tribe_Elf.cpp:125
Tribe_Elf()
Definition: Tribe_Elf.cpp:24
Definition: Tribe.hpp:23