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


Public Member Functions | |
| Texture * | currentTexture () override |
Public Member Functions inherited from WorldObject | |
| WorldObject () | |
| virtual | ~WorldObject () |
| virtual std::string | getName () |
| 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 | |
| Creature * | owner |
| int | direction |
| int | age |
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 |
|
overridevirtual |
Reimplemented from WorldObject.
| int Creature_Footprint::age |
| int Creature_Footprint::direction |
| Creature* Creature_Footprint::owner |
1.8.13