WorldSim  inDev
2D tile-based sandbox RPG with procedurally generated fantasy world simulator 🌏
Public Member Functions | Public Attributes | List of all members
Creature_Footprint Class Reference

#include <Creature.hpp>

Inheritance diagram for Creature_Footprint:
Inheritance graph
[legend]
Collaboration diagram for Creature_Footprint:
Collaboration graph
[legend]

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

Creatureowner
 
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
 

Member Function Documentation

◆ currentTexture()

Texture * Creature_Footprint::currentTexture ( )
overridevirtual

Reimplemented from WorldObject.

Member Data Documentation

◆ age

int Creature_Footprint::age

◆ direction

int Creature_Footprint::direction

◆ owner

Creature* Creature_Footprint::owner

The documentation for this class was generated from the following files: