Last active
October 20, 2016 18:03
-
-
Save kim366/9ab9c18763015bfffecaceca9a5a0c95 to your computer and use it in GitHub Desktop.
Set the Tile Position of Each individual one when looping through the whole Grid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For x | |
// For y | |
currentTile.setPosition((tileSize + border) * y, (tileSize + border) * x); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment