public void RemoveCell(PlayerCell c) { lock (this.Cells) { this.Cells.Remove(c); Program.GameManager.PlayerCells.Remove(c.CID); } }
public void AddCell(PlayerCell c) { lock (this.Cells) { this.Cells.Add(c); Program.GameManager.PlayerCells.Add(c.CID, c); } }