11 lines
247 B
GDScript
11 lines
247 B
GDScript
extends RefCounted
|
|
class_name PhaseTransition
|
|
|
|
var events: Array[Event]
|
|
var from: Match.Phase
|
|
var to: Match.Phase
|
|
|
|
func _init(events: Array[Event], from: Match.Phase, to: Match.Phase) -> void:
|
|
self.events = events
|
|
self.from = from
|
|
self.to = to
|