add skeleton for update grid function

This commit is contained in:
Jack Case
2025-08-23 14:08:59 -04:00
parent 99e2dce2b6
commit c493d881c4

View File

@@ -32,9 +32,6 @@ func _ready():
calculate_token_groups() calculate_token_groups()
func _process(_delta: float) -> void:
pass
func _on_token_clicked(token_coord): func _on_token_clicked(token_coord):
var group = get_group_of_token(token_coord) var group = get_group_of_token(token_coord)
if group.size() >= min_group_size: if group.size() >= min_group_size:
@@ -66,6 +63,9 @@ func highlight_group(group: Array, enable: bool):
hovered_group = group hovered_group = group
func update_grid(): func update_grid():
# search for empty cells and drop tokens above them down
# search for empty coluns and shift tokens horizontally to fill them
pass pass
func populate_grid(): func populate_grid():