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


Public Member Functions | |
| WorldObject_Rock () | |
| virtual | ~WorldObject_Rock () |
| virtual std::string | getName () |
| virtual Texture * | currentTexture () |
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 | |
| int | nGold |
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_Rock::WorldObject_Rock | ( | ) |
|
inlinevirtual |
|
virtual |
Reimplemented from WorldObject.
|
virtual |
Reimplemented from WorldObject.
| int WorldObject_Rock::nGold |
1.8.13