Single ShipGroupGenerator added

This commit is contained in:
walterroach
2020-11-03 15:13:24 -06:00
committed by Dan Albert
parent 4ca92ea22d
commit 9087f3487d
10 changed files with 68 additions and 69 deletions

View File

@@ -2,14 +2,10 @@ import random
from dcs.ships import Uboat_VIIC_U_flak
from gen.sam.group_generator import GroupGenerator
from gen.sam.group_generator import ShipGroupGenerator
class UBoatGroupGenerator(GroupGenerator):
def __init__(self, game, ground_object, faction):
super(UBoatGroupGenerator, self).__init__(game, ground_object)
self.faction = faction
class UBoatGroupGenerator(ShipGroupGenerator):
def generate(self):