|
Mineserver
A rewrite of Minecraft 1.8.9 in C++ !
|
Interface Entity. More...
#include <entity.h>
Public Member Functions | |
| virtual | ~IEntity ()=default |
| Destroy the IEntity object. | |
Static Public Member Functions | |
| static void | loadLua (lua_State *state, const char *namespaceName) |
| Loads the IEntity class to a Lua one. | |
Public Attributes | |
| Vecf | position |
| Position of the entity. | |
| Angle | yaw |
| Yaw angle of the entity. | |
| Angle | pitch |
| Pitch angle of the entity. | |
| MinecraftUUID | uuid |
| MinecraftUUID of the entity. | |
Interface Entity.
Interface for all entities, implements basic things that all entities should have
Loads the IEntity class to a Lua one.
| state | the state to load to |
| namespaceName | the namespace to load to |
| Angle IEntity::pitch |
Pitch angle of the entity.
How the entity is oriented in space, vertically.
| MinecraftUUID IEntity::uuid |
MinecraftUUID of the entity.
Unique identifier for the entity
| Angle IEntity::yaw |
Yaw angle of the entity.
How the entity is oriented in space, horizontally.