
class SceneNodeDecorator():
    def __init__(self):
        super().__init__()
        self._node = None
        
    def setNode(self, node):
        self._node = node

class SceneNodeDecorator():
    def __init__(self):
        super().__init__()
        self._node = None
        
    def setNode(self, node):
        self._node = node

    def getNode(self):
        return self._node

Add a getter for a Decorator's Scene Node
Add a getter for a Decorator's Scene Node

  
  class SceneNodeDecorator():
      def __init__(self):
          super().__init__()
          self._node = None
          
      def setNode(self, node):
          self._node = node
+ 
+     def getNode(self):
+         return self._node
+ 
Add a getter for a Decorator's Scene Node
## Code Before:

class SceneNodeDecorator():
    def __init__(self):
        super().__init__()
        self._node = None
        
    def setNode(self, node):
        self._node = node
## Instruction:
Add a getter for a Decorator's Scene Node
## Code After:

class SceneNodeDecorator():
    def __init__(self):
        super().__init__()
        self._node = None
        
    def setNode(self, node):
        self._node = node

    def getNode(self):
        return self._node
