16 lines
301 B
GDScript
16 lines
301 B
GDScript
|
extends RefCounted
|
||
|
|
||
|
var text: String = ""
|
||
|
var pauses: Dictionary = {}
|
||
|
var speeds: Dictionary = {}
|
||
|
var mutations: Array[Array] = []
|
||
|
var time: String = ""
|
||
|
|
||
|
|
||
|
func _init(data: Dictionary) -> void:
|
||
|
text = data.text
|
||
|
pauses = data.pauses
|
||
|
speeds = data.speeds
|
||
|
mutations = data.mutations
|
||
|
time = data.time
|