Engine
Raylib based game framework
Loading...
Searching...
No Matches
Events.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Lua/MyLua.hpp"
4
9
10namespace 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 signalling that the game should close.
Definition Events.hpp:24
static void LuaRegister(sol::state &lua)
Registers the CloseGame type with Lua.
Definition Events.hpp:34