WorldSim
inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
|
#include <WorldObject_Flora.hpp>
Public Member Functions | |
WorldObject_Flora () | |
virtual | ~WorldObject_Flora () |
virtual std::string | getName () override |
virtual Texture * | currentTexture () override |
virtual void | generate () |
Public Member Functions inherited from WorldObject | |
WorldObject () | |
virtual | ~WorldObject () |
virtual std::string | getExtendedInfo () |
virtual void | wander () |
int | distanceTo (WorldObject *) |
int | distanceFrom (WorldObject *) |
int | distanceTo (int, int) |
std::string | getBaseData () |
std::string | getSaveData () |
void | loadData (std::string) |
Public Attributes | |
std::string | name |
int | growth |
Public Attributes inherited from WorldObject | |
short int | x |
short int | y |
bool | isUnderground |
long unsigned int | fullX |
long unsigned int | fullY |
int | worldX |
int | worldY |
bool | stackable |
double | weight |
double | bulk |
bool | blocksView |
bool | blocksMovement |
bool | canCook |
int | chopAmount |
bool | canHarvest |
WorldObject_Flora::WorldObject_Flora | ( | ) |
|
inlinevirtual |
|
overridevirtual |
Reimplemented from WorldObject.
Reimplemented in Flora_Blueweed, Flora_Redweed, and Flora_Blackweed.
|
virtual |
|
overridevirtual |
Reimplemented from WorldObject.
Reimplemented in Flora_Blueweed, Flora_Redweed, and Flora_Blackweed.
int WorldObject_Flora::growth |
std::string WorldObject_Flora::name |