Source code for mirrorworld.dataclasses

from dataclasses import dataclass
from typing import Any


[docs] @dataclass class Size: """Represents a size.""" x: int y: int
[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."""