summaryrefslogtreecommitdiff
path: root/src/sliceitoff/display/display.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/display/display.py')
-rw-r--r--src/sliceitoff/display/display.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sliceitoff/display/display.py b/src/sliceitoff/display/display.py
index e4cc670..54b1586 100644
--- a/src/sliceitoff/display/display.py
+++ b/src/sliceitoff/display/display.py
@@ -1,7 +1,10 @@
import pygame
+from stats import Stats
+
from .scaling import Scaling
+
class Display():
def __init__(self):
pygame.display.init()
@@ -14,7 +17,7 @@ class Display():
def update(self, groups = None):
""" Updates the screen: clear, blit gropus and flip """
- self.screen.fill("magenta")
+ self.screen.fill(Stats.bgcolor)
for group in groups:
group.draw(self.screen)
pygame.display.flip()