2023-12-15 00:11:31 +01:00
|
|
|
# (c) 2023-present Eroax
|
|
|
|
# (c) 2023-present Yagich
|
|
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
2023-06-10 19:13:16 +02:00
|
|
|
extends DeckNode
|
|
|
|
|
|
|
|
|
|
|
|
func _init() -> void:
|
2023-07-21 07:30:12 +02:00
|
|
|
name = "Button"
|
|
|
|
node_type = "button"
|
2023-12-14 19:15:42 +01:00
|
|
|
description = "A button to trigger certain nodes that have a trigger input."
|
2023-11-23 07:38:10 +01:00
|
|
|
category = "general"
|
2023-07-21 07:30:12 +02:00
|
|
|
|
2023-06-10 19:13:16 +02:00
|
|
|
add_output_port(
|
2023-11-26 23:07:15 +01:00
|
|
|
DeckType.Types.BOOL,
|
2023-06-10 19:13:16 +02:00
|
|
|
"Press me",
|
|
|
|
"button"
|
|
|
|
)
|