summaryrefslogtreecommitdiff
path: root/src/sliceitoff/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/__main__.py')
-rw-r--r--src/sliceitoff/__main__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sliceitoff/__main__.py b/src/sliceitoff/__main__.py
index 6845d94..17e7317 100644
--- a/src/sliceitoff/__main__.py
+++ b/src/sliceitoff/__main__.py
@@ -8,7 +8,7 @@ from pathlib import Path
import pygame
from display import Display
-from images import Images
+from images import Images, Fonts
from game import Level
@@ -17,7 +17,9 @@ def sliceitoff():
pygame.init()
display = Display()
- Images.load_images( Path(__file__).parent.resolve() )
+ current_path = Path(__file__).parent.resolve()
+ Images.load_images( current_path )
+ Fonts.load_fonts( current_path )
level1 = Level(display = display, level = 10, score = 10)