Lodestone.Level
Loading...
Searching...
No Matches
lodestone::level::entity::ChunkEntity Class Reference

#include <ChunkEntity.h>

Inheritance diagram for lodestone::level::entity::ChunkEntity:
Collaboration diagram for lodestone::level::entity::ChunkEntity:

Additional Inherited Members

Public Member Functions inherited from lodestone::level::entity::Entity
 Entity ()=default
 ~Entity () override=default
int getHealth () const
void setHealth (int health)
bool isDead () const
virtual int getMaxHealth () const
const types::Vec3d & getMotion () const
virtual void setMotion (const types::Vec3d &motion)
 Sets the entity's motion.
void setMotion (double x, double y, double z)
void resetCoords ()
virtual const common::registry::Identifier * getType () const
std::string toString () const override
Public Member Functions inherited from lodestone::level::entity::WorldSpaceObject
 WorldSpaceObject ()
virtual ~WorldSpaceObject ()=default
types::Vec3f getFront () const
types::Vec3f getDirection () const
types::Vec3d getTarget () const
Public Member Functions inherited from lodestone::common::string::StringSerializable
constexpr StringSerializable ()=default
virtual constexpr ~StringSerializable ()=default
Public Attributes inherited from lodestone::level::entity::WorldSpaceObject
types::Vec3d position = types::VEC3_ZERO<double>
types::Vec2f rotation = types::VEC2_ZERO<float>
Static Public Attributes inherited from lodestone::level::entity::Entity
static constexpr int MAX_HEALTH = 20
Protected Attributes inherited from lodestone::level::entity::Entity
types::Vec3d m_motion {0, 0, 0}
 The motion that the entity has.
int m_health = MAX_HEALTH

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