rename number to order

This commit is contained in:
Fabien Freling 2020-02-13 13:38:07 +01:00
parent 0f8ddd4d71
commit b4ca5f576c
2 changed files with 6 additions and 6 deletions

View file

@ -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)