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); } }
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); } }