Example #1
0
		public Cell CreateCell (int col, int row)
		{
			var cell = new Cell (this, col, row);

			Attach (cell);
			
			return cell;
		}
Example #2
0
		public void Attach (Cell cell)
		{
			long k = MakeKey (cell);

			cells [k] = cell;
		}
Example #3
0
		static long MakeKey (Cell cell)
		{
			return (cell.Col << 32) | cell.Row;
		}