Compare commits
No commits in common. "85d5af180b3d816c1826d33880f4778f55afe820" and "02af29f2fa3a888506cc4b3b4cbf7bbd22574c62" have entirely different histories.
85d5af180b
...
02af29f2fa
|
@ -274,9 +274,9 @@ Registers a ``handler`` to be called when ``event`` is dispatched. The handler f
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
func my_event_handler(cargo=null) -> bool:
|
func my_event_handler(cargo=null) -> void:
|
||||||
|
|
||||||
If the handler returns ``true``, the event will be consumed. Cargo is an optional parameter that can be passed to the handler. See also :ref:`dispatch<class_LimboState_method_dispatch>`.
|
Cargo is an optional parameter that can be passed to the handler. See also :ref:`dispatch<class_LimboState_method_dispatch>`.
|
||||||
|
|
||||||
.. rst-class:: classref-item-separator
|
.. rst-class:: classref-item-separator
|
||||||
|
|
||||||
|
|
|
@ -43,9 +43,9 @@
|
||||||
<description>
|
<description>
|
||||||
Registers a [param handler] to be called when [param event] is dispatched. The handler function should have the following signature:
|
Registers a [param handler] to be called when [param event] is dispatched. The handler function should have the following signature:
|
||||||
[codeblock]
|
[codeblock]
|
||||||
func my_event_handler(cargo=null) -> bool:
|
func my_event_handler(cargo=null) -> void:
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
If the handler returns [code]true[/code], the event will be consumed. Cargo is an optional parameter that can be passed to the handler. See also [method dispatch].
|
Cargo is an optional parameter that can be passed to the handler. See also [method dispatch].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="call_on_enter">
|
<method name="call_on_enter">
|
||||||
|
|
Loading…
Reference in New Issue