fixes & updates

This commit is contained in:
Vasyl Horbachenko
2018-06-17 03:32:43 +03:00
parent e54e548bdd
commit 45dbb37d50
36 changed files with 8926 additions and 83 deletions

View File

@@ -11,9 +11,9 @@ class ShipGenerator:
self.m = mission
self.conflict = conflict
def generate(self, type: ShipType, at: Point) -> ShipGroup:
def generate(self, type: ShipType, country: str, at: Point) -> ShipGroup:
return self.m.ship_group(
country=self.conflict.attackers_side,
country=self.m.country(country),
name=namegen.next_transport_group_name(),
_type=type,
position=at)