Class DefaultCarAnimation

    • Constructor Detail

      • DefaultCarAnimation

        public DefaultCarAnimation​(LaneBasedGTU gtu,
                                   SimulatorInterface.TimeDoubleUnit simulator)
                            throws javax.naming.NamingException,
                                   java.rmi.RemoteException
        Construct the DefaultCarAnimation for a LaneBasedIndividualCar.
        Parameters:
        gtu - LaneBasedGTU; the Car 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
      • DefaultCarAnimation

        public DefaultCarAnimation​(LaneBasedGTU gtu,
                                   SimulatorInterface.TimeDoubleUnit simulator,
                                   GTUColorer gtuColorer)
                            throws javax.naming.NamingException,
                                   java.rmi.RemoteException
        Construct the DefaultCarAnimation for a LaneBasedIndividualCar.
        Parameters:
        gtu - LaneBasedGTU; the Car to draw
        simulator - SimulatorInterface.TimeDoubleUnit; the simulator to schedule on
        gtuColorer - GTUColorer; the GTUColorer that determines what fill color to use
        Throws:
        javax.naming.NamingException - in case of registration failure of the animation
        java.rmi.RemoteException - on communication failure