12#ifndef MINESERVER_ENTITY_H
13#define MINESERVER_ENTITY_H
67 static void loadLua(lua_State *state,
const char *namespaceName)
69 luabridge::getGlobalNamespace(state)
70 .beginNamespace(namespaceName)
103 static void loadLua(lua_State *state,
const char *namespaceName)
105 luabridge::getGlobalNamespace(state)
106 .beginNamespace(namespaceName)
107 .beginClass<
ILiving>(
"ILiving")
The file for angle logic.
Angle class holder.
Definition angle.hpp:25
Interface Entity.
Definition entity.h:27
MinecraftUUID uuid
MinecraftUUID of the entity.
Definition entity.h:59
Vecf position
Position of the entity.
Definition entity.h:39
virtual ~IEntity()=default
Destroy the IEntity object.
Angle pitch
Pitch angle of the entity.
Definition entity.h:53
Angle yaw
Yaw angle of the entity.
Definition entity.h:46
static void loadLua(lua_State *state, const char *namespaceName)
Loads the IEntity class to a Lua one.
Definition entity.h:67
Interface Living Entity.
Definition entity.h:89
~ILiving() override=default
Destroy the ILiving object.
static void loadLua(lua_State *state, const char *namespaceName)
Loads the ILiving class to a Lua one.
Definition entity.h:103
MinecraftUUID compliant data holder.
Definition uuid.h:27
The file containing MinecraftUUID logic.
The file handling vector logic.