summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-10 16:46:44 +0300
committerViljami Ilola <+@hix.fi>2024-04-10 16:46:44 +0300
commitaab1bd74450e7c074417e25919c1cd8e71c31d82 (patch)
tree3367e455af490f688268f84b636be47368e5fe6e
parenta6aadcc36295ae8bf09b630f02171dd2843db2e4 (diff)
move mainmenu under game where it belongs
-rw-r--r--src/sliceitoff/game/game.py2
-rw-r--r--src/sliceitoff/game/mainmenu.py (renamed from src/sliceitoff/mainmenu/mainmenu.py)2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py
index 3404fd3..832ab76 100644
--- a/src/sliceitoff/game/game.py
+++ b/src/sliceitoff/game/game.py
@@ -14,8 +14,8 @@ from sliceitoff.screens import (
instructions1_screen,
instructions2_screen)
from sliceitoff.hiscores import HiScores
-from sliceitoff.mainmenu import Mainmenu, MenuItems
+from .mainmenu import Mainmenu, MenuItems
from .level import Level
from .show import Show
from .initials import Initials
diff --git a/src/sliceitoff/mainmenu/mainmenu.py b/src/sliceitoff/game/mainmenu.py
index d747f7d..b4287d7 100644
--- a/src/sliceitoff/mainmenu/mainmenu.py
+++ b/src/sliceitoff/game/mainmenu.py
@@ -5,7 +5,7 @@ import pygame
from sliceitoff.screens import mainmenu_screen
from sliceitoff.display import Scaling
-from sliceitoff.game.explodeout import ExplodeOutGroup
+from .explodeout import ExplodeOutGroup
MOUSE_TRESHOLD = 100