Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
Loading...
Searching...
No Matches
luacollisionlistener.h File Reference
#include "collision/icollisionlistener.h"
#include "lua.h"
Include dependency graph for luacollisionlistener.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Scarab::Engine::Lua::LuaCollisionListener
 Collision listener that decodes packed SpriteHandles from collider data and dispatches to a registered Lua handler. Only processes collisions where BOTH sides are Lua-owned - anything with at least one legacy (non-Lua) side is the legacy collision listener's job instead (it's the one that understands the legacy sprite type well enough to decide response for a mixed collision without a listener-ordering race). More...
 

Namespaces

namespace  Scarab
 
namespace  Scarab::Engine
 
namespace  Scarab::Engine::Lua