Azmyth.Editor.Grid.SetCell C# (CSharp) Method

SetCell() public method

public SetCell ( int x, int y, Color color ) : void
x int
y int
color Color
return void
        public void SetCell(int x, int y, Color color)
        {
            Point p = new Point(x, y);

                if (m_cells.ContainsKey(p))
                {
                    m_cells[p] = color;
                }
                else
                {
                    m_cells.Add(p, color);
                }

                Invalidate();
        }