mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Type annotations.
This commit is contained in:
parent
d10b4c1e13
commit
03a29aeedf
@ -342,8 +342,8 @@ class UnitsDeliveryEvent:
|
||||
def __init__(self, control_point: ControlPoint) -> None:
|
||||
self.to_cp = control_point
|
||||
self.units: Dict[Type[UnitType], int] = {}
|
||||
self.bought_units = {}
|
||||
self.sold_units = {}
|
||||
self.bought_units: Dict[Type[UnitType], int] = {}
|
||||
self.sold_units: Dict[Type[UnitType], int] = {}
|
||||
|
||||
def __str__(self) -> str:
|
||||
return "Pending delivery to {}".format(self.to_cp)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user