added magic and craft to new ui

This commit is contained in:
2022-10-16 15:08:08 +02:00
parent d7cff148ab
commit b3a32a4ad1
3 changed files with 479 additions and 2 deletions

View File

@@ -1,11 +1,11 @@
import sys
from time import time
import cv2 as cv
import keyboard
from combined_user_interface import PrimaryOverlay
from equipment import Equipment
from crops import Crops
from farm import Farm
from magic import Magic
from craft import Craft
def run():
@@ -43,6 +43,12 @@ def run():
elif overlay.rb_int.get() == 3:
farm = Farm(overlay)
farm.execute_main_loop()
elif overlay.rb_int.get() == 4:
magic = Magic(overlay)
magic.execute_main_loop()
elif overlay.rb_int.get() == 5:
craft = Craft(overlay)
craft.execute_main_loop()
if __name__ == "__main__":
run()