godot-xterm/addons/godot_xterm/resources/asciicast.gd

23 lines
432 B
GDScript
Raw Normal View History

extends Animation
signal data_written(data)
signal data_read(data)
2022-11-09 21:57:46 +01:00
@export var version: int: int = 2
# Initial terminal width (number of columns).
2022-11-09 21:57:46 +01:00
@export var width: int: int
# Initial terminal height (number of rows).
2022-11-09 21:57:46 +01:00
@export var height: int: int
func get_class() -> String:
return "Asciicast"
func is_class(name) -> bool:
2022-11-09 21:57:46 +01:00
return name == get_class() or super.is_class(name)
func _init():
step = 0.01 # Parent override.