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


Public Member Functions | |
| Creature_Deer () | |
| ~Creature_Deer () | |
| void | init (int _sex=0) |
| virtual Texture * | currentTexture () |
| virtual std::string | getName () |
Public Member Functions inherited from Creature | |
| Creature () | |
| void | init (int _sex=0) |
| virtual void | incrementTicks (int=1) |
| virtual void | wander () override |
| void | die () |
| bool | hasSeen (World_Local *, int, int) |
| std::string | getColumn (std::string _column) override |
| std::string | getColumnType (std::string _column) override |
| virtual void | attack (Creature *, Creature_Attack *) |
| virtual void | attack (Character *, Creature_Attack *) |
| void | updateKnowledge () |
| void | updateKnowledgeIdle () |
Public Member Functions inherited from WorldObject | |
| WorldObject () | |
| virtual | ~WorldObject () |
| virtual std::string | getExtendedInfo () |
| int | distanceTo (WorldObject *) |
| int | distanceFrom (WorldObject *) |
| int | distanceTo (int, int) |
| std::string | getBaseData () |
| std::string | getSaveData () |
| void | loadData (std::string) |
Additional Inherited Members | |
Public Attributes inherited from Creature | |
| bool | isMale |
| int | age |
| int | daysCounter |
| int | secondsCounter |
| bool | isCarnivore |
| int | actionPoints |
| bool | isAlive |
| int | health |
| int | hunger |
| int | thirst |
| short int | fleeCounter |
| World_Local * | map |
| Creature_Knowledge * | knowledge |
| Creature_Species * | species |
| int | nPelt |
| int | nMeat |
| Vector< Creature_Attack * > | vAttack |
| Texture * | baseTexture |
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 |
| Creature_Deer::Creature_Deer | ( | ) |
| Creature_Deer::~Creature_Deer | ( | ) |
|
virtual |
Reimplemented from Creature.
|
virtual |
Reimplemented from Creature.
| void Creature_Deer::init | ( | int | _sex = 0 | ) |
1.8.13