implementing entity building from TILED data