public void ResetSourceCell(int key) { SourceCell cell = GetCell(key); cell.Source = null; Messenger <SourceCell> .Broadcast(SourceCell.EVENT_SOURCE_CELL_UPDATED, cell); }
public void UpdateSourceCell(int key, Source source) { SourceCell cell = GetCell(key); cell.Source = source; Messenger <SourceCell> .Broadcast(SourceCell.EVENT_SOURCE_CELL_UPDATED, cell); }
public bool HasSource(int key) { SourceCell cell = GetCell(key); return(cell.Source != null); }