Exemplo n.º 1
0
    public void AddContents(GridCellContents contents)
    {
        m_contents.Add(contents);

        contents.SetOwnerCell(this);

        AddType(contents.GetContentsType());
    }
Exemplo n.º 2
0
 public void RemoveContents(GridCellContents contents)
 {
     m_contents.Remove(contents);
     RemoveType(contents.GetContentsType());
 }