Problem with the function

in BattleScene:

tile = handlerList.tileSelector.filterTurnedTiles(isAttacker, tile.x, tile.y);