From 551289aa0d40b80e8c2f8e6e732dbfc8b03e5e96 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sun, 31 Mar 2024 13:56:46 +0300 Subject: mainloop --- src/sliceitoff/mainmenu/mainmenu.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/mainmenu/mainmenu.py') diff --git a/src/sliceitoff/mainmenu/mainmenu.py b/src/sliceitoff/mainmenu/mainmenu.py index c907443..e0466a5 100644 --- a/src/sliceitoff/mainmenu/mainmenu.py +++ b/src/sliceitoff/mainmenu/mainmenu.py @@ -1,12 +1,12 @@ """ mainmenu.mainmenu - Let's user choose """ -from enum import Enum +from enum import IntEnum import pygame from screens import mainmenu_screen from game.anykey import anykey -class MenuItems(Enum): +class MenuItems(IntEnum): """ Items in the menu. Should match mainmenu_screen """ NEWGAME = 0 HISCORES = 1 -- cgit v1.2.3