Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2 

3# -- stdlib -- 

4from typing import Dict, Type 

5 

6# -- third party -- 

7# -- own -- 

8from thb.mode import THBattle 

9from thb.thb2v2 import THBattle2v2 

10from thb.thbfaith import THBattleFaith 

11from thb.thbrole import THBattleRole 

12from thb.thbkof import THBattleKOF 

13from thb.thbnewbie import THBattleNewbie 

14 

15 

16# -- code -- 

17import thb.item # noqa, init it 

18import thb.meta # noqa, init it 

19 

20modes: Dict[str, Type[THBattle]] = {} 

21modelst = [ 

22 THBattleKOF, 

23 THBattleRole, 

24 THBattleFaith, 

25 THBattle2v2, 

26 THBattleNewbie, 

27] 

28 

29for g in modelst: 

30 modes[g.__name__] = g 

31 

32del modelst, g 

33 

34modes_kedama = { 

35 'THBattleNewbie', 

36 'THBattleKOF', 

37}