1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 09:39:48 +00:00
Pixelorama/src/Classes/Frame.gd

13 lines
265 B
GDScript3
Raw Normal View History

class_name Frame extends Reference
# A class for frame properties.
# A frame is a collection of cels, for each layer.
var cels : Array # An array of Cels
var duration := 1.0
func _init(_cels := [], _duration := 1.0) -> void:
cels = _cels
duration = _duration