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

#include <World_Biome.hpp>

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

Public Member Functions

 World_Biome ()
 
virtual ~World_Biome ()
 
void generate (const unsigned short int sleepTime=0)
 
void generateLocals (const unsigned short int sleepTime=0)
 
void generateFlora ()
 
void generateCreatures ()
 
FloragetFlora ()
 
CreaturegetCreature ()
 
Vector< Flora * > * getAllFloraTypes ()
 
Vector< Creature_Species * > * getAllCreatureTypes ()
 
void getAverageCoordinates ()
 
void addMap (World_Local *map)
 
std::string getColumn (std::string _column)
 
std::string getColumnType (std::string _column)
 

Public Attributes

bool isGenerated
 
bool threadAccess
 
bool isFloraGenerated
 
int id
 
std::string name
 
unsigned int size
 
unsigned char type
 
Vector< HasXY > vXY
 
Vector< World_Local * > vMap
 
Vector< Flora * > vFlora
 
Vector< Creature * > vCreature
 
double averageX
 
double averageY
 
int centerX
 
int centerY
 

Constructor & Destructor Documentation

◆ World_Biome()

World_Biome::World_Biome ( )

Implementation of World_Biome.hpp

◆ ~World_Biome()

World_Biome::~World_Biome ( )
virtual

Member Function Documentation

◆ addMap()

void World_Biome::addMap ( World_Local map)

◆ generate()

void World_Biome::generate ( const unsigned short int  sleepTime = 0)

◆ generateCreatures()

void World_Biome::generateCreatures ( )

◆ generateFlora()

void World_Biome::generateFlora ( )

◆ generateLocals()

void World_Biome::generateLocals ( const unsigned short int  sleepTime = 0)

◆ getAllCreatureTypes()

Vector< Creature_Species * > * World_Biome::getAllCreatureTypes ( )

◆ getAllFloraTypes()

Vector< Flora * > * World_Biome::getAllFloraTypes ( )

◆ getAverageCoordinates()

void World_Biome::getAverageCoordinates ( )

◆ getColumn()

std::string World_Biome::getColumn ( std::string  _column)

◆ getColumnType()

std::string World_Biome::getColumnType ( std::string  _column)

◆ getCreature()

Creature * World_Biome::getCreature ( )

◆ getFlora()

Flora * World_Biome::getFlora ( )

Member Data Documentation

◆ averageX

double World_Biome::averageX

◆ averageY

double World_Biome::averageY

◆ centerX

int World_Biome::centerX

◆ centerY

int World_Biome::centerY

◆ id

int World_Biome::id

◆ isFloraGenerated

bool World_Biome::isFloraGenerated

◆ isGenerated

bool World_Biome::isGenerated

◆ name

std::string World_Biome::name

◆ size

unsigned int World_Biome::size

◆ threadAccess

bool World_Biome::threadAccess

◆ type

unsigned char World_Biome::type

◆ vCreature

Vector<Creature*> World_Biome::vCreature

◆ vFlora

Vector<Flora*> World_Biome::vFlora

◆ vMap

Vector<World_Local*> World_Biome::vMap

◆ vXY

Vector<HasXY> World_Biome::vXY

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