示例#1
0
        public void ResetSourceCell(int key)
        {
            SourceCell cell = GetCell(key);

            cell.Source = null;
            Messenger <SourceCell> .Broadcast(SourceCell.EVENT_SOURCE_CELL_UPDATED, cell);
        }
示例#2
0
        public void UpdateSourceCell(int key, Source source)
        {
            SourceCell cell = GetCell(key);

            cell.Source = source;
            Messenger <SourceCell> .Broadcast(SourceCell.EVENT_SOURCE_CELL_UPDATED, cell);
        }
示例#3
0
        public bool HasSource(int key)
        {
            SourceCell cell = GetCell(key);

            return(cell.Source != null);
        }