T
- the Locatable class of the source that indicates the location of the Renderable on the screenpublic interface ClonableRenderable2DInterface<T extends nl.tudelft.simulation.dsol.animation.Locatable>
extends nl.tudelft.simulation.dsol.animation.D2.Renderable2DInterface<T>
Copyright (c) 2013-2017 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<T> |
clone(T newSource,
OTSSimulatorInterface newSimulator)
Clone the animation object and register it for the new source on the new simulation.
|
ClonableRenderable2DInterface<T> clone(T 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.