Class TrafficLightSensorAnimation

    • Constructor Detail

      • TrafficLightSensorAnimation

        public TrafficLightSensorAnimation​(TrafficLightSensor sensor,
                                           SimulatorInterface.TimeDoubleUnit simulator)
                                    throws javax.naming.NamingException,
                                           java.rmi.RemoteException,
                                           OTSGeometryException
        Construct a SensorAnimation.
        Parameters:
        sensor - TrafficLightSensor; the traffic light sensor that will be animated
        simulator - SimulatorInterface.TimeDoubleUnit; the simulator to schedule on
        Throws:
        javax.naming.NamingException - in case of registration failure of the animation
        java.rmi.RemoteException - in case of remote registration failure of the animation
        OTSGeometryException - when the geometry is bad