diff --git a/UI/Objects/Scene.py b/UI/Objects/Scene.py index 0cd4665..cc61fbd 100644 --- a/UI/Objects/Scene.py +++ b/UI/Objects/Scene.py @@ -5,8 +5,8 @@ import numpy as np class Scene(Screen): - def __init__(self, width: float, height: float, font_size: int, screen_size: a, bg=(60, 60, 60)): - super().__init__(width, height, font_size, screen_size) + def __init__(self, width: float, height: float, font_size: int, scene_size: a, bg=(60, 60, 60)): + super().__init__(width, height, font_size, scene_size) self.bg = bg self.r_objects = [] # resizable Objects diff --git a/UI/Scenes/BasicScene.py b/UI/Scenes/BasicScene.py index dd22aae..c544c79 100644 --- a/UI/Scenes/BasicScene.py +++ b/UI/Scenes/BasicScene.py @@ -7,11 +7,11 @@ from UI.Objects.r_objects.Rect import Rect class BasicScene(Scene): - def __init__(self, font_size: int, screen_size: a, bg=(60, 60, 60)): + def __init__(self, font_size: int, scene_size: a, bg=(60, 60, 60)): s__size = [600, 400] - super().__init__(s__size[0], s__size[1], font_size, screen_size, bg) + super().__init__(s__size[0], s__size[1], font_size, scene_size, bg) r0 = Rect(a([0, 0]), a([200, 200]), (160, 160, 160), self) self.r_objects.append(r0)