private void tileSetRenderWindow_MouseButtonPressed(object sender, MouseButtonEventArgs e)
{
if (e.Button == Mouse.Button.Left)
{
this._tileSetSelector.Position = _tileSetRenderWindow.MapPixelToCoords((new Vector2i((e.X / 32) * 32, (e.Y / 32) * 32)));
this._tileSetSelector.Size = new Vector2f(32, 32);
this._selectedTileSprite = new Sprite(this._currentTileSetSprite.Texture, new IntRect((int)_tileSetSelector.Position.X, (int)_tileSetSelector.Position.Y, 32, 32));
}
}