mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
23 lines
527 B
Python
23 lines
527 B
Python
class NameGenerator:
|
|
number = 0
|
|
|
|
def next_armor_group_name(self):
|
|
self.number += 1
|
|
return "Armor Unit {}".format(self.number)
|
|
|
|
def next_cas_group_name(self):
|
|
self.number += 1
|
|
return "CAS Unit {}".format(self.number)
|
|
|
|
def next_escort_group_name(self):
|
|
self.number += 1
|
|
return "Escort Unit {}".format(self.number)
|
|
|
|
def next_intercept_group_name(self):
|
|
self.number += 1
|
|
return "Intercept Unit {}".format(self.number)
|
|
|
|
|
|
namegen = NameGenerator()
|
|
|