Refactoring and bug fixes to moving_camera, multi_camera, zoomed_scene mix

This commit is contained in:
Grant Sanderson
2018-05-11 13:15:34 -07:00
parent 2a74f3a687
commit f0b8ae7647
4 changed files with 23 additions and 16 deletions

View File

@ -49,3 +49,10 @@ class MovingCamera(Camera):
else:
self.frame_shape = (self.frame.get_height(), width)
self.resize_frame_shape(fixed_dimension=self.fixed_dimension)
def get_mobjects_indicating_movement(self):
"""
Returns all mobjets whose movement implies that the camera
should think of all other mobjects on the screen as moving
"""
return [self.frame]