2 #ifndef WORLDSIM_CIV_HPP 3 #define WORLDSIM_CIV_HPP 28 class Civ:
public TableInterface
68 void initSimulation();
71 void addContact(
Civ*);
85 void setColour (
const int,
const int,
const int);
92 void incrementTicks (
int );
95 void updateFogOfWar();
97 int neighboringFog (
int _x,
int _y );
99 void foggiestNeighbor (
int _x,
int _y,
int* _rx,
int* _ry,
bool _landOnly);
102 void getExploreTile(
int* _rx,
int* _ry,
bool _land);
106 void garbageCollect();
113 bool knowsAbout(
Civ*);
115 bool atWarWith(
Civ*);
118 bool canSee(
const int _x,
const int _y);
120 void rebuildCharacterList();
123 std::string getColumn(std::string _column);
124 std::string getColumnType(std::string _column);
int colourRed
Definition: Civ.hpp:61
World * world
Definition: Civ.hpp:58
Vector< Character * > vCharacter
Definition: Civ.hpp:51
std::string name
Definition: Civ.hpp:56
Mythology * mythology
Definition: Civ.hpp:35
int colourGreen
Definition: Civ.hpp:62
Vector< Settlement * > vSettlement
Definition: Civ.hpp:54
int colourBlue
Definition: Civ.hpp:63
CivManager civManager
Definition: Civ.hpp:26
Vector< Civ * > vAtWar
Definition: Civ.hpp:42
int nSoldiers
Definition: Civ.hpp:59
int money
Definition: Civ.hpp:57
ArrayS2< bool > aVisible
Definition: Civ.hpp:47
void init()
Definition: Driver_Init.hpp:16
Technology technology
Definition: Civ.hpp:36
Definition: Settlement.hpp:15
Vector< Civ * > vAware
Definition: Civ.hpp:44
static ArrayS2< Civ * > aOwnership
Definition: Civ.hpp:39
Definition: Technology.hpp:19
Definition: Character.hpp:38
int race
Definition: Civ.hpp:65
ArrayS2< Civ * > aOwnerShip
Definition: Civ.hpp:24
Definition: Mythology.hpp:57