LPCGame
A Simple 2d Game Engine
|
Inherits luaWindowLib, luaTextLib, luaPhysicsLib, luaMathLib, luaInputLib, luaImageLib, luaEntityLib, luaDebugLib, luaCameraLib, and luaAnimatedImageLib.
Classes | |
class | AnimatedImageLib |
class | CameraLib |
class | ColorLib |
class | DebugLib |
class | EntityLib |
class | ImageLib |
class | InputLib |
class | LuaParam |
class | LuaPrimitiveParam |
class | LuaScriptLib |
class | LuaUdataParam |
class | MathLib |
class | PhysicsLib |
class | RectfLib |
class | StateLib |
class | TextLib |
class | TimerLib |
class | UdataLib |
class | Vector2fLib |
class | WindowLib |
Public Types | |
typedef LuaPrimitiveParam< bool > | BoolParam |
typedef LuaPrimitiveParam< double > | DoubleParam |
typedef LuaPrimitiveParam< float > | FloatParam |
typedef LuaPrimitiveParam< int > | IntParam |
typedef LuaPrimitiveParam < std::string > | StringParam |
typedef LuaUdataParam < std::shared_ptr < AnimatedImage > > | AnimImgParam |
typedef LuaUdataParam < std::weak_ptr< Camera > > | CameraParam |
typedef LuaUdataParam< Color > | ColorParam |
typedef LuaUdataParam < std::shared_ptr< Entity > > | EntityParam |
typedef LuaUdataParam < std::shared_ptr< Image > > | ImageParam |
typedef LuaUdataParam < std::weak_ptr< Physics > > | PhysicsParam |
typedef LuaUdataParam< Rectf > | RectfParam |
typedef LuaUdataParam < std::shared_ptr< Text > > | TextParam |
typedef LuaUdataParam< Timer > | TimerParam |
typedef LuaUdataParam< Vector2f > | Vector2fParam |
Public Attributes | |
const std::string | animatedImageMeta = "LPC.AnimatedImage" |
The AnimatedImage metatable name. | |
const std::string | animatedImageClass = "AnimatedImage" |
The AnimatedImage class/type name. | |
const std::string | cameraMeta = "LPC.Camera" |
The Camera metatable name. | |
const std::string | cameraClass = "Camera" |
The Camera class/type name. | |
const std::string | colorMeta = "LPC.Color" |
The Color metatable name. | |
const std::string | colorClass = "Color" |
The Color class/type name. | |
const std::string | debugClass = "Debug" |
The Debug class/type name. | |
const std::string | entityMeta = "LPC.Entity" |
The Entity metatable name. | |
const std::string | entityClass = "Entity" |
The Entity class/type name. | |
const std::string | imageMeta = "LPC.Image" |
const std::string | imageClass = "Image" |
const std::string | inputClass = "Input" |
The Input class/type name. | |
const std::string | mathClass = "Math" |
The Math class/type name. | |
const std::string | physicsMeta = "LPC.Physics" |
The Physics metatable name. | |
const std::string | physicsClass = "Physics" |
The Physics class/type name. | |
const std::string | rectfMeta = "LPC.Rectf" |
The Rectf metatable name. | |
const std::string | rectfClass = "Rectf" |
The Rectf class/type name. | |
const std::string | stateClass = "State" |
The State class/type name. | |
const std::string | textMeta = "LPC.Text" |
The Text metatable name. | |
const std::string | textClass = "Text" |
the Text class/type name | |
const std::string | timerMeta = "LPC.Timer" |
The Timer metatable name. | |
const std::string | timerClass = "Timer" |
The Timer class/type name. | |
const std::string | vector2fMeta = "LPC.Vector2f" |
The Vector2f metatable name. | |
const std::string | vector2fClass = "Vector2f" |
The Vector2f class/type name. | |
const std::string | windowClass = "Window" |
Static Public Attributes | |
static const auto | bRetrieve = [](lua_State *l, int idx){ return lua_toboolean(l, idx) == 1; } |
static const auto | sPusher = [](lua_State *l, std::string str){ return lua_pushstring(l, str.c_str()); } |
static const auto | sRetriever = [](lua_State *l, int i){ return (std::string)luaL_checkstring(l, i); } |
static const std::string | luaScriptClass = "LuaScript" |
The LuaScriptLib global table name (classname) | |