diff options
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r-- | src/sliceitoff/main.py | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py index 5f1f3ce..6733466 100644 --- a/src/sliceitoff/main.py +++ b/src/sliceitoff/main.py @@ -5,11 +5,31 @@ from pygame import ( from time import sleep from display import Display +from status import Status +from field import Field +from images import images, load_images def main(): pg_init() - d = Display() - sleep(4) + + display = Display() + scaling = display.get_scaling() + load_images(scaling.scale) + + status = Status(scaling=scaling) + field = Field(scaling=scaling) + + print(scaling) + + display.update( + [ + status.get_sprites(), + field.get_sprites() + ]) + + sleep(2) pg_quit() + + main()
\ No newline at end of file |