public void AddContents(GridCellContents contents) { m_contents.Add(contents); contents.SetOwnerCell(this); AddType(contents.GetContentsType()); }
public void RemoveContents(GridCellContents contents) { m_contents.Remove(contents); RemoveType(contents.GetContentsType()); }