summaryrefslogtreecommitdiff
path: root/src/sliceitoff/main.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-16 12:53:03 +0200
committerViljami Ilola <+@hix.fi>2024-03-16 12:53:03 +0200
commit77d104cced553b8dfc9896cb456bd039807ed6c6 (patch)
tree834731b22475fe09ec61168ec220ff6ae98259bc /src/sliceitoff/main.py
parenta23b6647b0ca2cd9f2ccbbe12360c3fa0f96a554 (diff)
Images class
Diffstat (limited to 'src/sliceitoff/main.py')
-rw-r--r--src/sliceitoff/main.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/sliceitoff/main.py b/src/sliceitoff/main.py
index 3632f41..d4fb0bc 100644
--- a/src/sliceitoff/main.py
+++ b/src/sliceitoff/main.py
@@ -7,19 +7,19 @@ from time import sleep
from display import Display
from status import Status
from field import Field
-from images import images, load_images
+from images import Images
def main():
pg_init()
display = Display()
- load_images()
+ Images.load_images()
status = Status()
field = Field()
- field.slice(20_000,20_000,True,1_000)
- field.slice(10_000,20_000,False,1_000)
+ field.slice(20_000, 20_000, True, 1_000)
+ field.slice(10_000, 20_000, False, 1_000)
display.update(
[
@@ -30,6 +30,4 @@ def main():
sleep(2)
pg_quit()
-
-
-main() \ No newline at end of file
+main()