patch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObj...
[blender.git] / source / gameengine / PyDoc / GameTypes.py
index c82623e64090fe63548f3edc758ab8d448b2a309..9c426aed8e057cee5c598975511adc52abc0edf5 100644 (file)
@@ -3868,6 +3868,12 @@ class KX_Scene(PyObjectPlus):
                
                @rtype: L{KX_GameObject}
                """
+       
+       def get(key, default=None):
+               """
+               Return the value matching key, or the default value if its not found.
+               @return: The key value or a default.
+               """
 
 class KX_SceneActuator(SCA_IActuator):
        """