rename number to order
This commit is contained in:
parent
0f8ddd4d71
commit
b4ca5f576c
2 changed files with 6 additions and 6 deletions
|
@ -67,7 +67,7 @@ func _ready() -> void:
|
|||
|
||||
piece.size = piece_size
|
||||
piece.position = position_for_index(Vector2(c, r), piece.size)
|
||||
piece.number = 1 + c + r * columns
|
||||
piece.order = 1 + c + r * columns
|
||||
piece.taquin_index = Vector2(c, r)
|
||||
piece.piece_scale = Vector2((float(piece_size) / width), (float(piece_size) / height))
|
||||
piece.taquin_position = Vector2(float(piece.position.x) / width, float(piece.position.y) / height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue