Class TrafficLightAnimation

    • Constructor Detail

      • TrafficLightAnimation

        public TrafficLightAnimation​(TrafficLight trafficLight,
                                     SimulatorInterface.TimeDoubleUnit simulator)
                              throws javax.naming.NamingException,
                                     java.rmi.RemoteException
        Construct the DefaultCarAnimation for a LaneBlock (road block).
        Parameters:
        trafficLight - TrafficLight; the CSEBlock to draw
        simulator - SimulatorInterface.TimeDoubleUnit; the simulator to schedule on
        Throws:
        javax.naming.NamingException - in case of registration failure of the animation
        java.rmi.RemoteException - on communication failure