from kivy.app import App

from boxe_clock.managers import AppRoot
from boxe_clock.constants import KIVY_TEMPLATES_PATH


class BaseBoxingApp(App):
    """The base boxing clock app.
    """
    kv_directory = KIVY_TEMPLATES_PATH

    def build(self):
        return AppRoot()

    def on_start(self):
        pass

    def on_pause(self):
        return True
