CEngineSharp_Editor.Graphics.MapRenderer.UpdateLoop C# (CSharp) Method

UpdateLoop() private method

private UpdateLoop ( ) : void
return void
        private void UpdateLoop()
        {
            while (this.Running)
            {
                if (this._clearMap)
                {
                    for (int x = 0; x < this._mapEditorProperties.CurrentMap.MapWidth; x++)
                    {
                        for (int y = 0; y < this._mapEditorProperties.CurrentMap.MapHeight; y++)
                        {
                            this.RemoveTile(new Vector2i(x, y));
                        }
                    }

                    this._clearMap = false;
                }

                this.Render();
            }
        }