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();
}
}