private void resolve ( Collection < Tile > resolved , Collection < Tile > toResolve , Tile tile ) { updateTile ( resolved , toResolve , tile , - 1 , 0 ) ; updateTile ( resolved , toResolve , tile , 1 , 0 ) ; updateTile ( resolved , toResolve , tile , 0 , 1 ) ; updateTile ( resolved , toResolve , tile , 0 , - 1 ) ; updateTile ( resolved , toResolve , tile , - 1 , 1 ) ; updateTile ( resolved , toResolve , tile , 1 , 1 ) ; updateTile ( resolved , toResolve , tile , - 1 , - 1 ) ; updateTile ( resolved , toResolve , tile , 1 , - 1 ) ; }
Resolve current tile and add to resolve list extra tiles .