Exemplo n.º 1
0
		public Cell CreateCell (int col, int row)
		{
			var cell = new Cell (this, col, row);

			Attach (cell);
			
			return cell;
		}
Exemplo n.º 2
0
		public void Attach (Cell cell)
		{
			long k = MakeKey (cell);

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