File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,10 @@ def create_scene(number):
89
89
90
90
__all__ = ["MovingCameraScene" ]
91
91
92
+ from typing import Any
93
+
92
94
from manim .animation .animation import Animation
95
+ from manim .mobject .mobject import Mobject
93
96
94
97
from ..camera .moving_camera import MovingCamera
95
98
from ..scene .scene import Scene
@@ -111,10 +114,12 @@ class MovingCameraScene(Scene):
111
114
:class:`.MovingCamera`
112
115
"""
113
116
114
- def __init__ (self , camera_class = MovingCamera , ** kwargs ):
117
+ def __init__ (
118
+ self , camera_class : type [MovingCamera ] = MovingCamera , ** kwargs : Any
119
+ ) -> None :
115
120
super ().__init__ (camera_class = camera_class , ** kwargs )
116
121
117
- def get_moving_mobjects (self , * animations : Animation ):
122
+ def get_moving_mobjects (self , * animations : Animation ) -> list [ Mobject ] :
118
123
"""
119
124
This method returns a list of all of the Mobjects in the Scene that
120
125
are moving, that are also in the animations passed.
You can’t perform that action at this time.
0 commit comments