from . import main_widget
from PyQt5.QtWidgets import QApplication
from . import entities as entities

__app = None
__main_widget = None


def init():
    global __app, __main_widget
    __app = QApplication([])
    __main_widget = main_widget.MainWidget()


def add_entity(entity):
    entity.setParent(__main_widget)
    entity.show()
    return entity


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    #__main_widget.showFullScreen()
    __app.exec()

a13da1e32f34b70b920896629c82a0183a168f46
<mask token>


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    __app.exec()

<mask token>


def init():
    global __app, __main_widget
    __app = QApplication([])
    __main_widget = main_widget.MainWidget()


def add_entity(entity):
    entity.setParent(__main_widget)
    entity.show()
    return entity


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    __app.exec()

<mask token>
__app = None
__main_widget = None


def init():
    global __app, __main_widget
    __app = QApplication([])
    __main_widget = main_widget.MainWidget()


def add_entity(entity):
    entity.setParent(__main_widget)
    entity.show()
    return entity


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    __app.exec()

from . import main_widget
from PyQt5.QtWidgets import QApplication
from . import entities as entities
__app = None
__main_widget = None


def init():
    global __app, __main_widget
    __app = QApplication([])
    __main_widget = main_widget.MainWidget()


def add_entity(entity):
    entity.setParent(__main_widget)
    entity.show()
    return entity


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    __app.exec()

from . import main_widget
from PyQt5.QtWidgets import QApplication
from . import entities as entities

__app = None
__main_widget = None


def init():
    global __app, __main_widget
    __app = QApplication([])
    __main_widget = main_widget.MainWidget()


def add_entity(entity):
    entity.setParent(__main_widget)
    entity.show()
    return entity


def set_size(x, y):
    __main_widget.setFixedSize(x, y)
    entities._SCALE = 2.5 * y / 800


def run(main, delay=25):
    __main_widget.show()
    __main_widget.startMain(main, delay)
    #__main_widget.showFullScreen()
    __app.exec()
