WorldSim
inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
|
#include <Tribe_Human.hpp>
Public Member Functions | |
Tribe_Human () | |
bool | spawn () |
virtual void | wander () |
virtual void | incrementTicks (int) |
void | combat (Tribe *) |
Texture * | currentTexture () |
Public Member Functions inherited from Tribe | |
void | setColour (const unsigned char, const unsigned char, const unsigned char) |
Tribe () | |
~Tribe () | |
void | init (World *) |
bool | spawn () |
void | hunt () |
void | eat () |
void | develop () |
void | updateGovernment () |
void | degradeInfluence () |
void | updateTerritory () |
void | generateCouples (int=1) |
int | getPopulation () |
bool | removeCharacter (Character *) |
void | addCharacter (Character *) |
void | kill () |
Character * | getDefender () |
void | add (Character &c) |
Character * | setLegendaryCouple (AttributeManager::TYPE) |
Character * | getMostSkilledAt (AttributeManager::TYPE skill) |
World_Local * | getCurrentMap () |
Texture * | currentTexture () |
std::string | getColumn (std::string _column) |
std::string | getColumnType (std::string _column) |
Public Member Functions inherited from WorldObjectGlobal | |
WorldObjectGlobal () | |
virtual std::string | getName () |
virtual std::string | getExtendedInfo () |
int | distanceTo (WorldObjectGlobal *_obj) |
bool | isOnMap (int _x, int _y) |
virtual | ~WorldObjectGlobal () |
Additional Inherited Members | |
Public Types inherited from WorldObjectGlobal | |
enum | enumType { NOTYPE =0, URBAN =1, ARMY =2, FLEET =3, NOMADIC_TRIBE =4, TRIBAL_ARTIFACT =5 } |
Public Attributes inherited from Tribe | |
Government | government |
Mythology * | mythology |
unsigned char | colourRed |
unsigned char | colourGreen |
unsigned char | colourBlue |
int | race |
int | nFood |
int | actionPoints |
int | dailyCounter |
int | monthlyCounter |
Vector< Character * > | vCharacter |
Vector< Character * > | vDeceased |
Vector< HasXY * > | vTerritory |
bool | foundSettlement |
bool | isAlive |
Public Attributes inherited from WorldObjectGlobal | |
int | worldX |
int | worldY |
World * | world |
std::string | name |
std::string | nameType |
int | type |
Protected Attributes inherited from Tribe | |
RandomNonStatic | random |
Tribe_Human::Tribe_Human | ( | ) |
Texture * Tribe_Human::currentTexture | ( | ) |
|
virtual |
lastline=8;
Reimplemented from Tribe.
bool Tribe_Human::spawn | ( | ) |
|
virtual |
Reimplemented from Tribe.