WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | List of all members
Tribe_Human Class Reference

#include <Tribe_Human.hpp>

Inheritance diagram for Tribe_Human:
Inheritance graph
[legend]
Collaboration diagram for Tribe_Human:
Collaboration graph
[legend]

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 ()
 
CharactergetDefender ()
 
void add (Character &c)
 
CharactersetLegendaryCouple (AttributeManager::TYPE)
 
CharactergetMostSkilledAt (AttributeManager::TYPE skill)
 
World_LocalgetCurrentMap ()
 
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
 
Mythologymythology
 
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
 
Worldworld
 
std::string name
 
std::string nameType
 
int type
 
- Protected Attributes inherited from Tribe
RandomNonStatic random
 

Constructor & Destructor Documentation

◆ Tribe_Human()

Tribe_Human::Tribe_Human ( )

Member Function Documentation

◆ combat()

void Tribe_Human::combat ( Tribe _target)
virtual

Reimplemented from Tribe.

◆ currentTexture()

Texture * Tribe_Human::currentTexture ( )

◆ incrementTicks()

void Tribe_Human::incrementTicks ( int  nTicks)
virtual

lastline=8;

Reimplemented from Tribe.

◆ spawn()

bool Tribe_Human::spawn ( )

◆ wander()

void Tribe_Human::wander ( )
virtual

Reimplemented from Tribe.


The documentation for this class was generated from the following files: