public MapSquare(IScreenLayer layer, Tile tile, int x, int y, int tilesize)
{
this.layer = layer;
Tile = tile;
X = x;
Y = y;
screenX = x * tilesize;
screenY = y * tilesize;
var commonBox = Tile.Sprite.BoundBox;
blockBox = new RectangleF(commonBox.X, commonBox.Y, commonBox.Width, commonBox.Height);
blockBox.Offset(-Tile.Sprite.HotSpot.X, -Tile.Sprite.HotSpot.Y);
}