mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
18 lines
279 B
Python
18 lines
279 B
Python
import abc
|
|
from dataclasses import dataclass
|
|
|
|
from dcs import Point
|
|
|
|
from game.utils import Distance
|
|
|
|
|
|
@dataclass(frozen=True)
|
|
class UiZone:
|
|
points: list[Point]
|
|
radius: Distance
|
|
|
|
|
|
class UiZoneDisplay(abc.ABC):
|
|
@abc.abstractmethod
|
|
def ui_zone(self) -> UiZone: ...
|