From 513d79a67c892668d151d3c7aae7ad0f9ca36b0a Mon Sep 17 00:00:00 2001 From: Roz K Date: Sat, 31 Dec 2022 20:23:27 +0100 Subject: [PATCH] Fix scene node declaration. --- game/scene.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/game/scene.py b/game/scene.py index a52354c..67d9fa4 100644 --- a/game/scene.py +++ b/game/scene.py @@ -24,14 +24,7 @@ class Node: subnode.draw(time) class SceneNode(Node): - __slots__ = '_subnodes' - - def __init__(self, *subnodes): - Node.__init__(self, *subnodes) - self._subnodes = subnodes - - def draw(self, time): - Node.draw(self, time) + pass class TextureNode(Node): __slots__ = '_textures'