Just™ Game Engine
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
jng::LuaEntity Struct Reference

#include <lua_definitions.hpp>

Static Public Member Functions

static int addComponent (lua_State *L)
 
static int getComponent (lua_State *L)
 
static int setPosition (lua_State *L)
 
static int getPosition (lua_State *L)
 
static int getScale (lua_State *L)
 
static int move (lua_State *L)
 
static int scale (lua_State *L)
 

Public Attributes

void * entityHandle
 
ScenesceneHandle
 

Static Public Attributes

static constexpr const char * METATABLE_NAME = "JNG.Entity"
 

Member Function Documentation

◆ addComponent()

int jng::LuaEntity::addComponent ( lua_State *  L)
static

◆ getComponent()

int jng::LuaEntity::getComponent ( lua_State *  L)
static

◆ getPosition()

int jng::LuaEntity::getPosition ( lua_State *  L)
static

◆ getScale()

int jng::LuaEntity::getScale ( lua_State *  L)
static

◆ move()

int jng::LuaEntity::move ( lua_State *  L)
static

◆ scale()

int jng::LuaEntity::scale ( lua_State *  L)
static

◆ setPosition()

int jng::LuaEntity::setPosition ( lua_State *  L)
static

Member Data Documentation

◆ entityHandle

void* jng::LuaEntity::entityHandle

◆ METATABLE_NAME

constexpr const char* jng::LuaEntity::METATABLE_NAME = "JNG.Entity"
staticconstexpr

◆ sceneHandle

Scene* jng::LuaEntity::sceneHandle

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