diff --git a/manimlib/once_useful_constructs/light.py b/manimlib/once_useful_constructs/light.py index b10a8883..5ec132b9 100644 --- a/manimlib/once_useful_constructs/light.py +++ b/manimlib/once_useful_constructs/light.py @@ -74,12 +74,14 @@ class SwitchOff(LaggedStartMap): class Lighthouse(SVGMobject): CONFIG = { - "file_name": "lighthouse", "height": LIGHTHOUSE_HEIGHT, "fill_color": WHITE, "fill_opacity": 1.0, } + def __init__(self, **kwargs): + super().__init__("lighthouse", **kwargs) + def move_to(self, point): self.next_to(point, DOWN, buff=0)