9 lines
194 B
GDScript3
9 lines
194 B
GDScript3
|
extends Node
|
||
|
|
||
|
|
||
|
func _ready():
|
||
|
$UI.set_next_shape($GameBoard.next_shape)
|
||
|
|
||
|
$GameBoard.connect("score_changed", $UI, "update_score")
|
||
|
$GameBoard.connect("new_next_shape", $UI, "set_next_shape")
|