Exemplo n.º 1
0
 public void RemoveCell(HexCell cell)
 {
     if (editMode == false && hasVision)
     {
         cell.DecreaseVisibility();
     }
     visibleCells.Remove(cell);
 }
Exemplo n.º 2
0
 //保存
 public void Save(BinaryWriter writer)
 {
     if (location)
     {
         location.DecreaseVisibility();
     }
     location.coordinates.Save(writer);
     writer.Write(orientation);
 }