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

#include <Location.hpp>

Collaboration diagram for LocationManager:
Collaboration graph
[legend]

Public Member Functions

 LocationManager ()
 
void buildDwarvenFortress ()
 
void putCharacter (Character *c, enumLocation location)
 
Vector< Location * > * getLocation (enumLocation location)
 
int totalAvailableBranches ()
 
Location * getBuildableBranch ()
 
int getMiningCapacity ()
 
int getFarmingCapacity ()
 
Location * addLocation (enumLocation locationType)
 
bool has (enumLocation locationType)
 
bool canBuild (enumLocation locationType)
 
Location * getLocationToMake (ItemType item)
 
void printAll ()
 
std::string toString ()
 

Static Public Member Functions

static ResourceRequirement getResourceRequirement (const enumLocation locationType)
 

Public Attributes

Vector< Location * > vLocation
 
World_Biome * biome
 

Constructor & Destructor Documentation

◆ LocationManager()

LocationManager::LocationManager ( )

Member Function Documentation

◆ addLocation()

Location * LocationManager::addLocation ( enumLocation  locationType)

◆ buildDwarvenFortress()

void LocationManager::buildDwarvenFortress ( )

◆ canBuild()

bool LocationManager::canBuild ( enumLocation  locationType)

◆ getBuildableBranch()

Location * LocationManager::getBuildableBranch ( )

◆ getFarmingCapacity()

int LocationManager::getFarmingCapacity ( )

◆ getLocation()

Vector< Location * > * LocationManager::getLocation ( enumLocation  location)

◆ getLocationToMake()

Location * LocationManager::getLocationToMake ( ItemType  item)

◆ getMiningCapacity()

int LocationManager::getMiningCapacity ( )

◆ getResourceRequirement()

ResourceRequirement LocationManager::getResourceRequirement ( const enumLocation  locationType)
static

◆ has()

bool LocationManager::has ( enumLocation  locationType)

◆ printAll()

void LocationManager::printAll ( )

◆ putCharacter()

void LocationManager::putCharacter ( Character *  c,
enumLocation  location 
)

◆ toString()

std::string LocationManager::toString ( )

◆ totalAvailableBranches()

int LocationManager::totalAvailableBranches ( )

Member Data Documentation

◆ biome

World_Biome* LocationManager::biome

◆ vLocation

Vector<Location*> LocationManager::vLocation

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