Dan Albert 1a9930b93a Remove our old lat/lon support code.
pydcs provides this now.
2022-02-22 17:40:35 -08:00

15 lines
271 B
Python

from __future__ import annotations
from dataclasses import dataclass
from typing import Dict
from dcs import Point
@dataclass
class Bullseye:
position: Point
def to_pydcs(self) -> Dict[str, float]:
return {"x": self.position.x, "y": self.position.y}