示例#1
0
 public void RemoveCell(PlayerCell c)
 {
     lock (this.Cells)
     {
         this.Cells.Remove(c);
         Program.GameManager.PlayerCells.Remove(c.CID);
     }
 }
示例#2
0
 public void AddCell(PlayerCell c)
 {
     lock (this.Cells)
     {
         this.Cells.Add(c);
         Program.GameManager.PlayerCells.Add(c.CID, c);
     }
 }