This commit is contained in:
parent
cbf47648a4
commit
b4d6b40cb0
|
@ -7,7 +7,7 @@ func _ready():
|
||||||
TAS_System.FramesAdvanced.connect(frames_change)
|
TAS_System.FramesAdvanced.connect(frames_change)
|
||||||
TAS_System.FramesRegressed.connect(frames_change)
|
TAS_System.FramesRegressed.connect(frames_change)
|
||||||
|
|
||||||
func frame_inc(frame: int):
|
func frame_inc(_frame: int):
|
||||||
advance(delta)
|
advance(delta)
|
||||||
|
|
||||||
func frames_change(start: int, end: int):
|
func frames_change(start: int, end: int):
|
||||||
|
|
|
@ -25,7 +25,7 @@ func _ready():
|
||||||
func frame_inc(frame: int):
|
func frame_inc(frame: int):
|
||||||
time_targets[frame] = target
|
time_targets[frame] = target
|
||||||
|
|
||||||
func frames_change(start: int, end: int):
|
func frames_change(_start: int, end: int):
|
||||||
if time_targets[end] != target:
|
if time_targets[end] != target:
|
||||||
set_target(time_targets[end].get_billiard())
|
set_target(time_targets[end].get_billiard())
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ func _ready():
|
||||||
func frame_inc(frame: int):
|
func frame_inc(frame: int):
|
||||||
can_hit_history[frame] = can_hit
|
can_hit_history[frame] = can_hit
|
||||||
|
|
||||||
func frames_change(start: int, end: int):
|
func frames_change(_start: int, end: int):
|
||||||
can_hit = can_hit_history[end]
|
can_hit = can_hit_history[end]
|
||||||
|
|
||||||
func frames_reset():
|
func frames_reset():
|
||||||
|
|
Loading…
Reference in New Issue