summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/game/game.py')
-rw-r--r--src/sliceitoff/game/game.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py
index 7a91ede..a5009c5 100644
--- a/src/sliceitoff/game/game.py
+++ b/src/sliceitoff/game/game.py
@@ -1,5 +1,5 @@
-""" Slice It Off! - Game where you slice the area where enemies reside to
- the minimum
+""" game.game - Slice It Off! - Game where you slice the area where smily
+ faces reside to the minimum.
"""
from pathlib import Path
@@ -7,13 +7,13 @@ from pathlib import Path
import pygame
from sliceitoff.display import Display
-from sliceitoff.text import Fonts
from sliceitoff.stats import Stats
from sliceitoff.screens import (
hiscores_screen,
instructions1_screen,
instructions2_screen)
from sliceitoff.hiscores import HiScores
+from sliceitoff.text import fonts
from sliceitoff.sfx import sfx
from .mainmenu import Mainmenu, MenuItems
@@ -27,11 +27,11 @@ class Game:
assets_path = Path(__file__).parent.parent.resolve().joinpath('assets')
pygame.init()
sfx.init(assets_path)
+ fonts.init(assets_path)
self.clock = pygame.time.Clock()
self.display = Display()
self.stats = None
self.hiscores = HiScores()
- Fonts.load_fonts(assets_path)
pygame.mouse.set_visible(False)
def __del__(self):