move tree support
This commit is contained in:
1 parent
c3eff3f0f5
commit
76c982536c
8 files changed
+199
-59
No files matched your search
@@ -22,7 +22,7 @@ from kivymd.uix.boxlayout import MDBoxLayout
|
||||
from kivymd.uix.button import BaseFlatButton, BasePressedButton
|
||||
from kivymd.uix.navigationdrawer import MDNavigationDrawer
|
||||
|
||||
from katrain.core.constants import AI_STRATEGIES_RECOMMENDED_ORDER, GAME_TYPES, PLAYER_AI
|
||||
from katrain.core.constants import AI_STRATEGIES_RECOMMENDED_ORDER, GAME_TYPES, PLAYER_AI, MODE_PLAY
|
||||
from katrain.core.lang import i18n
|
||||
from katrain.gui.style import DEFAULT_FONT, WHITE
|
||||
|
||||
@@ -299,6 +299,8 @@ class PlayerInfo(MDBoxLayout, BackgroundMixin):
|
||||
player_subtype = StringProperty("")
|
||||
active = BooleanProperty(True)
|
||||
|
||||
class TimerOrMoveTree(BoxLayout):
|
||||
mode = StringProperty(MODE_PLAY)
|
||||
|
||||
class Timer(BGBoxLayout):
|
||||
state = ListProperty([30, 5, 1])
|
||||
|
||||
Reference in new issue
Block a user