2020-09-22 10:31:46 +02:00
|
|
|
extends Animation
|
|
|
|
|
|
|
|
signal data_written(data)
|
|
|
|
signal data_read(data)
|
|
|
|
|
2022-11-09 21:57:46 +01:00
|
|
|
@export var version: int: int = 2
|
2020-09-22 10:31:46 +02:00
|
|
|
# Initial terminal width (number of columns).
|
2022-11-09 21:57:46 +01:00
|
|
|
@export var width: int: int
|
2020-09-22 10:31:46 +02:00
|
|
|
# Initial terminal height (number of rows).
|
2022-11-09 21:57:46 +01:00
|
|
|
@export var height: int: int
|
2020-09-22 10:31:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
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)
|
2020-09-29 11:16:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
func _init():
|
2021-05-26 05:39:48 +02:00
|
|
|
step = 0.01 # Parent override.
|