cleanup
This commit is contained in:
parent
8a720717e4
commit
fab2d9e8af
3 changed files with 0 additions and 19 deletions
|
@ -19,9 +19,6 @@ var pieces: Array = []
|
|||
var missing_piece: Vector2
|
||||
var rng = RandomNumberGenerator.new()
|
||||
|
||||
#func _draw() -> void:
|
||||
# draw_rect(Rect2(0, 0, width, height), Color.blue)
|
||||
|
||||
func position_for_index(index: Vector2, size: int) -> Vector2:
|
||||
var padding_w = (width - (size * columns)) / (columns + 1)
|
||||
var padding_h = (height - (size * rows)) / (rows + 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue