From 9f8247dc4da89219b6eede08d58d96964391a077 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 27 Apr 2024 16:26:22 +0300 Subject: refactor menus and screen showing under menu subpkg --- src/sliceitoff/game/mainmenu.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/sliceitoff/game/mainmenu.py (limited to 'src/sliceitoff/game/mainmenu.py') diff --git a/src/sliceitoff/game/mainmenu.py b/src/sliceitoff/game/mainmenu.py deleted file mode 100644 index fbd91c9..0000000 --- a/src/sliceitoff/game/mainmenu.py +++ /dev/null @@ -1,18 +0,0 @@ -""" game.mainmenu - Let's user choose """ -from enum import IntEnum - -from sliceitoff.screens import mainmenu_screen -from .menu import Menu - -class MainMenuItems(IntEnum): - """ Items in the menu. Should match mainmenu_screen """ - NEWGAME = 0 - HISCORES = 1 - INSTRUCT = 2 - SETTINGS = 3 - QUIT = 4 - -class MainMenu(Menu): - """ Main menu """ - def __init__(self): - super().__init__(mainmenu_screen, len(MainMenuItems)) -- cgit v1.2.3