#include <WorldObject.hpp>
◆ WorldObject()
WorldObject::WorldObject |
( |
| ) |
|
◆ ~WorldObject()
virtual WorldObject::~WorldObject |
( |
| ) |
|
|
inlinevirtual |
◆ currentTexture()
Texture * WorldObject::currentTexture |
( |
| ) |
|
|
virtual |
Reimplemented in Item_Marker_Green_Small, Item_Marker_Red, Item_Shelter, Item_Waterskin, Item_LeatherClothes, Item_HumanMeat, Item_HumanSkin, Item_DeerMeat, Item_DeerPelt, Item_PlantFibre, Item_Floor, Item_Wall, Item_Plank, Item_Campfire, Item_Fish, Item_Log, Item_Axe, Item_Shovel, Item_Fishrod, Item_Pickaxe, Item_Spear, Item_Longbow, Item_Knife, Item_Sword, Item_Hoe, Item_Hand, Item, Character, Creature_Footprint, Creature_CarnivoreSolo, Creature, Creature_CarnivorePack, Creature_HerbivoreScavenging, Flora_Blueweed, Flora_Redweed, Creature_HerbivoreGrazing, Flora_Blackweed, WorldObject_Tree, WorldObject_Flora, WorldObject_Rock, WorldObject_Sign, Creature_Bat, and Creature_Deer.
◆ distanceFrom()
◆ distanceTo() [1/2]
◆ distanceTo() [2/2]
int WorldObject::distanceTo |
( |
int |
_x, |
|
|
int |
_y |
|
) |
| |
◆ getBaseData()
std::string WorldObject::getBaseData |
( |
| ) |
|
◆ getExtendedInfo()
virtual std::string WorldObject::getExtendedInfo |
( |
| ) |
|
|
inlinevirtual |
◆ getName()
std::string WorldObject::getName |
( |
| ) |
|
|
virtual |
Reimplemented in Item_Marker_Green_Small, Item_Marker_Red, Item_Shelter, Item_Waterskin, Item_LeatherClothes, Item_HumanMeat, Item_HumanSkin, Item_DeerMeat, Item_DeerPelt, Item_Plank, Item_Campfire, Item_Fish, Item_Log, Item_Axe, Item_Shovel, Item_Fishrod, Item_Pickaxe, Item_Spear, Item_Longbow, Item_Knife, Item_Sword, Item_Hoe, Character, Item_Hand, Creature, Creature_CarnivoreSolo, Item, Creature_CarnivorePack, Creature_HerbivoreScavenging, Flora_Blueweed, Creature_HerbivoreGrazing, Flora_Redweed, Flora_Blackweed, WorldObject_Tree, WorldObject_Flora, Creature_Bat, WorldObject_Rock, Creature_Deer, and WorldObject_Sign.
◆ getSaveData()
std::string WorldObject::getSaveData |
( |
| ) |
|
◆ loadData()
void WorldObject::loadData |
( |
std::string |
_saveData | ) |
|
◆ wander()
void WorldObject::wander |
( |
| ) |
|
|
virtual |
◆ blocksMovement
bool WorldObject::blocksMovement |
◆ blocksView
bool WorldObject::blocksView |
◆ bulk
◆ canCook
bool WorldObject::canCook |
◆ canHarvest
bool WorldObject::canHarvest |
◆ chopAmount
int WorldObject::chopAmount |
◆ fullX
long unsigned int WorldObject::fullX |
◆ fullY
long unsigned int WorldObject::fullY |
◆ isUnderground
bool WorldObject::isUnderground |
◆ stackable
bool WorldObject::stackable |
◆ weight
double WorldObject::weight |
◆ worldX
◆ worldY
The documentation for this class was generated from the following files: