public interface ClonableRenderable2DInterface
extends nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
ClonableRenderable2DInterface |
clone(nl.tudelft.simulation.dsol.animation.Locatable newSource,
OTSSimulatorInterface newSimulator)
Clone the animation object and register it for the new source on the new simulation.
|
ClonableRenderable2DInterface clone(nl.tudelft.simulation.dsol.animation.Locatable newSource, OTSSimulatorInterface newSimulator) throws NamingException, RemoteException
newSource - the sourcenewSimulator - the simulatorNamingException - when animation context cannot be created or retrievedRemoteException - - when remote context cannot be foundCopyright © 2014–2017 Delft University of Technology. All rights reserved.