Fix scene node declaration.
This commit is contained in:
		| @ -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' | ||||
|  | ||||
		Reference in New Issue
	
	Block a user