Source code for mirrorworld.dataclasses
from dataclasses import dataclass
from typing import Any
[docs]
@dataclass
class Tile:
"""The coordinate and URL of one tile of a tiled panorama."""
x: int
"""X coordinate of the tile."""
y: int
"""Y coordinate of the tile."""
url: str
"""URL of the tile."""
[docs]
@dataclass
class Link:
"""A linked panorama."""
pano: Any
"""The panorama."""
direction: float
"""Angle in radians."""