public void startTransition(GameInit gameInit, Tile currentTile) { transitioning = true; fadeOut = true; fadeCounter = 0; destination = currentTile.getDestination(); regionTrans = currentTile.isRegionTransition(); destinationTile = currentTile.getDestinationTile(); }
public void fillTileMap() { for (int i = 0; i < tileWidth; i++) { for (int j = 0; j < tileHeight; j++) { tileMap[i, j] = new Tile(false, 0); } } }