Struct Engine::SignalConnection¶
ClassList > Engine > SignalConnection
Godot-style connection: when emitter fires signal , callmethod ontarget 's script table asmethod(table, emitter,
other) .More...
#include <SignalConnections.hpp>
Public Attributes¶
| Type | Name |
|---|---|
| std::string | method |
| std::string | signal |
| Entity | target = static\_cast<[**Entity**](namespaceEngine.md#typedef-entity)>(-1) |
Detailed Description¶
Stored as plain data (never Lua closures) so connections survive scene save/load and script reloads: the method is re-resolved at dispatch time.
Public Attributes Documentation¶
variable method¶
variable signal¶
variable target¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Components/SignalConnections.hpp