|
WorldSim
inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
|
#include <Location.hpp>


Public Member Functions | |
| Location () | |
| void | link (Location *location) |
| bool | putCharacter (Character *c) |
| void | removeCharacter (Character *c) |
| virtual std::string | getName () |
| virtual ResourceRequirement | getResourceRequirement () |
| int | availableBranches () |
| bool | hasRoom () |
Public Member Functions inherited from HasResourceRequirement | |
| HasResourceRequirement () | |
Public Attributes | |
| enumLocation | type |
| Vector< ItemType > | vCanMake |
| bool | isOutside |
| int | capacity |
| int | nIngress |
| int | darkness |
| int | maxBranches |
| Location::Location | ( | ) |
| int Location::availableBranches | ( | ) |
|
virtual |
|
virtual |
Reimplemented from HasResourceRequirement.
| bool Location::hasRoom | ( | ) |
| void Location::link | ( | Location * | location | ) |
| bool Location::putCharacter | ( | Character * | c | ) |
| void Location::removeCharacter | ( | Character * | c | ) |
| int Location::capacity |
| int Location::darkness |
| bool Location::isOutside |
| int Location::maxBranches |
| int Location::nIngress |
| enumLocation Location::type |
| Vector<ItemType> Location::vCanMake |
1.8.13