public Tile searchRow(int x){
        int counter = 0;

        while(Tiles.size() >= counter){
            int tX = Tiles.get(counter).position.x;
            if(x <= tX && (x + (2 * sideLength)) <= tX  ){
                return Tiles.get(counter);
            }
            counter++;
        }
        return new Tile();
    }