Engine
Raylib based game framework
Loading...
Searching...
No Matches
src
Engine
Events.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "Lua/MyLua.hpp"
4
9
10
namespace
Event
11
{
23
struct
CloseGame
24
{
34
static
void
LuaRegister
(sol::state& lua)
35
{
36
Lua::RegisterType<Event::CloseGame>(lua, DemangleWithoutNamespace<Event::CloseGame>().c_str(),
37
sol::constructors<
CloseGame
()>());
38
}
39
};
40
}
Event::CloseGame
Event signalling that the game should close.
Definition
Events.hpp:24
Event::CloseGame::LuaRegister
static void LuaRegister(sol::state &lua)
Registers the CloseGame type with Lua.
Definition
Events.hpp:34
Generated by
1.16.1