#include <Civ.hpp>
|
| | Civ () |
| |
| void | initSimulation () |
| |
| void | addContact (Civ *) |
| |
| void | addSettlement (Settlement *) |
| |
| void | manageArmy () |
| |
| void | init (World *) |
| |
| void | collectTaxes () |
| |
| void | logicTick () |
| |
| void | setColour (const int, const int, const int) |
| |
| bool | spawn () |
| |
| void | incrementTicks (int) |
| |
| void | updateFogOfWar () |
| |
| int | neighboringFog (int _x, int _y) |
| |
| void | foggiestNeighbor (int _x, int _y, int *_rx, int *_ry, bool _landOnly) |
| |
| void | getExploreTile (int *_rx, int *_ry, bool _land) |
| |
| int | getPopulation () |
| |
| void | garbageCollect () |
| |
| void | aiDay () |
| |
| void | aiSecond () |
| |
| bool | knowsAbout (Civ *) |
| |
| bool | atWarWith (Civ *) |
| |
| bool | canSee (const int _x, const int _y) |
| |
| void | rebuildCharacterList () |
| |
| std::string | getColumn (std::string _column) |
| |
| std::string | getColumnType (std::string _column) |
| |
◆ Civ()
◆ addContact()
| void Civ::addContact |
( |
Civ * |
| ) |
|
◆ addSettlement()
| void Civ::addSettlement |
( |
Settlement * |
_settlement | ) |
|
◆ aiDay()
◆ aiSecond()
◆ atWarWith()
| bool Civ::atWarWith |
( |
Civ * |
| ) |
|
◆ canSee()
| bool Civ::canSee |
( |
const int |
_x, |
|
|
const int |
_y |
|
) |
| |
◆ collectTaxes()
| void Civ::collectTaxes |
( |
| ) |
|
◆ foggiestNeighbor()
| void Civ::foggiestNeighbor |
( |
int |
_x, |
|
|
int |
_y, |
|
|
int * |
_rx, |
|
|
int * |
_ry, |
|
|
bool |
_landOnly |
|
) |
| |
◆ garbageCollect()
| void Civ::garbageCollect |
( |
| ) |
|
◆ getColumn()
| std::string Civ::getColumn |
( |
std::string |
_column | ) |
|
◆ getColumnType()
| std::string Civ::getColumnType |
( |
std::string |
_column | ) |
|
◆ getExploreTile()
| void Civ::getExploreTile |
( |
int * |
_rx, |
|
|
int * |
_ry, |
|
|
bool |
_land |
|
) |
| |
◆ getPopulation()
| int Civ::getPopulation |
( |
| ) |
|
◆ incrementTicks()
| void Civ::incrementTicks |
( |
int |
nTicks | ) |
|
◆ init()
| void Civ::init |
( |
World * |
_world | ) |
|
◆ initSimulation()
| void Civ::initSimulation |
( |
| ) |
|
◆ knowsAbout()
| bool Civ::knowsAbout |
( |
Civ * |
| ) |
|
◆ logicTick()
◆ manageArmy()
◆ neighboringFog()
| int Civ::neighboringFog |
( |
int |
_x, |
|
|
int |
_y |
|
) |
| |
◆ rebuildCharacterList()
| void Civ::rebuildCharacterList |
( |
| ) |
|
◆ setColour()
| void Civ::setColour |
( |
const int |
r, |
|
|
const int |
g, |
|
|
const int |
b |
|
) |
| |
◆ spawn()
◆ updateFogOfWar()
| void Civ::updateFogOfWar |
( |
| ) |
|
◆ aOwnership
| ArrayS2<Civ*> Civ::aOwnership |
|
static |
◆ aVisible
| ArrayS2<bool> Civ::aVisible |
◆ colourBlue
◆ colourGreen
◆ colourRed
◆ money
◆ mythology
◆ name
◆ nSoldiers
◆ race
◆ technology
◆ vAtWar
◆ vAware
◆ vCharacter
◆ vSettlement
◆ world
The documentation for this class was generated from the following files: