private void Render()
{
this._mapRenderWindow.DispatchEvents();
this._tileSetRenderWindow.DispatchEvents();
this._mapRenderWindow.Clear();
this._tileSetRenderWindow.Clear();
this._mapRenderWindow.SetView(_mapEditorProperties.MapView);
if (this._mapEditorProperties.CurrentMap != null)
this._mapEditorProperties.CurrentMap.Draw(this._mapRenderWindow, this._mapEditorProperties.MapEditorLeft, this._mapEditorProperties.MapEditorTop, this._mapEditorProperties.MapEditorWidth, this._mapEditorProperties.MapEditorHeight);
this._mapRenderWindow.SetView(this._mapRenderWindow.DefaultView);
this._mapRenderWindow.Draw(_mousePositionText);
this._tileSetRenderWindow.Draw(this._currentTileSetSprite);
this._tileSetRenderWindow.Draw(this._tileSetSelector);
this._mapRenderWindow.Display();
this._tileSetRenderWindow.Display();
}