示例#1
0
 private void CellEmptiedHandler(Cell cell, Tile tile)
 {
     if (ActiveTiles.Contains(tile))
     {
         ActiveTiles.Remove(tile);
         GetCellStatus();
         Debug.Log(" TILE  " + tile.name + " REMOVED FROM CELL " + (cell != null?cell.CellIndex:-1) + " STATUS IS " + CellStatus);
     }
 }
示例#2
0
 private void CellFilledHandler(Cell cell, Tile tile)
 {
     if (!ActiveTiles.Contains(tile))
     {
         ActiveTiles.Add(tile);
         GetCellStatus();
         Debug.Log(" TILE  " + tile.name + " ADDED TO CELL " + (cell.CellIndex) + " STATUS IS " + CellStatus);
     }
 }