Class SinkAnimation

    • Constructor Detail

      • SinkAnimation

        public SinkAnimation​(SinkSensor source,
                             SimulatorInterface.TimeDoubleUnit simulator)
                      throws javax.naming.NamingException,
                             java.rmi.RemoteException
        Construct the Sink animation.
        Parameters:
        source - SinkSensor; 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 - in case of remote registration failure of the animation
    • Method Detail

      • paint

        public final void paint​(java.awt.Graphics2D graphics,
                                java.awt.image.ImageObserver observer)
                         throws java.rmi.RemoteException
        Overrides:
        paint in class AbstractLineAnimation<SinkSensor>
        Throws:
        java.rmi.RemoteException