mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
17 lines
338 B
GDScript
17 lines
338 B
GDScript
class_name Port
|
|
|
|
var type: Deck.Types
|
|
var label: String
|
|
var descriptor: String
|
|
var value_callback: Callable
|
|
|
|
|
|
func _init(
|
|
p_type: Deck.Types,
|
|
p_label: String,
|
|
p_descriptor: String = "",
|
|
p_value_callback: Callable = Callable()) -> void:
|
|
type = p_type
|
|
label = p_label
|
|
descriptor = p_descriptor
|
|
value_callback = p_value_callback
|