Using static constants for classes and groups
This commit is contained in:
parent
0e9243a423
commit
27c8f9ac70
@ -18,10 +18,11 @@ class CombinedCompetitionClass:
|
||||
Class_t = CompetitionClass | CombinedCompetitionClass
|
||||
|
||||
class CompetitionClassParser:
|
||||
NEWC = CompetitionClass('Newc.')
|
||||
BEG = CompetitionClass('Beg.')
|
||||
ADV = CompetitionClass('Adv.')
|
||||
|
||||
def __init__(self):
|
||||
self.NEWC = CompetitionClass('Newc.')
|
||||
self.BEG = CompetitionClass('Beg.')
|
||||
self.ADV = CompetitionClass('Adv.')
|
||||
|
||||
self.mapNames = {
|
||||
'Newc': self.NEWC,
|
||||
|
@ -18,10 +18,11 @@ class CombinedGroup:
|
||||
Group_t = Group | CombinedGroup
|
||||
|
||||
class GroupParser:
|
||||
KIN = Group('Kin.')
|
||||
JUN = Group('Jun.')
|
||||
JUG = Group('Jug.')
|
||||
|
||||
def __init__(self):
|
||||
self.KIN = Group('Kin.')
|
||||
self.JUN = Group('Jun.')
|
||||
self.JUG = Group('Jug.')
|
||||
|
||||
self.mapNames = {
|
||||
'Kin': self.KIN,
|
||||
|
Loading…
Reference in New Issue
Block a user