nl.tudelft.simulation.dsol.tutorial.section44
Class ContinuousBall

java.lang.Object
  extended by nl.tudelft.simulation.dsol.tutorial.section44.Ball
      extended by nl.tudelft.simulation.dsol.tutorial.section44.ContinuousBall
All Implemented Interfaces:
LocatableInterface

public class ContinuousBall
extends Ball

An extension of Ball

Author:
peter

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.tutorial.section44.Ball
destination, origin, RADIUS, rotZ
 
Constructor Summary
ContinuousBall(DESSSimulatorInterface simulator)
          constructs a new Ball
 
Method Summary
 DirectedPoint getLocation()
           
 void next()
          next move
 
Methods inherited from class nl.tudelft.simulation.dsol.tutorial.section44.Ball
getBounds, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContinuousBall

public ContinuousBall(DESSSimulatorInterface simulator)
               throws RemoteException
constructs a new Ball

Parameters:
simulator - the simulator
Throws:
RemoteException - on network exception
Method Detail

getLocation

public DirectedPoint getLocation()
                          throws RemoteException
Throws:
RemoteException
See Also:
LocatableInterface#getLocation()

next

public void next()
          throws RemoteException
next move

Throws:
RemoteException - on network failure


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.