예제 #1
0
 protected void Remove(HexCell neighbour)
 {
     if (neighbour != null && _neighbours.Contains(neighbour))
     {
         Directions direction = DesideNbr(neighbour);
         _neighbours[(int)direction] = null;
         neighbour.Remove(this);
         _fieldController.CellDestroyed(this);
     }
 }