org.xith3d.utility.classes.beans
Class PlaceableConnection

java.lang.Object
  extended by org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
      extended by org.xith3d.utility.classes.beans.PlaceableConnection
All Implemented Interfaces:
ScheduledOperation, Updatable, Connection

public class PlaceableConnection
extends ScheduledOperationImpl
implements Connection

A PlaceableConnection


Constructor Summary
PlaceableConnection(Transformable t1, Transformable t2)
          PlaceableConnection ensures that t1 has (nearly) always the same position/orientation as t2.
 
Method Summary
 void breakConnection()
          
 void update(long gameTime, long frameTime, UpdatingThread.TimingMode timingMode)
          Updates this Updatable object.
 
Methods inherited from class org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
isAlive, isPersistent, setAlive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaceableConnection

public PlaceableConnection(Transformable t1,
                           Transformable t2)
PlaceableConnection ensures that t1 has (nearly) always the same position/orientation as t2.

Parameters:
t1 -
t2 -
Method Detail

breakConnection

public void breakConnection()

Specified by:
breakConnection in interface Connection

update

public void update(long gameTime,
                   long frameTime,
                   UpdatingThread.TimingMode timingMode)
Updates this Updatable object.

Specified by:
update in interface Updatable
Parameters:
gameTime - the gameTime in Milliseconds
frameTime - the frameTime in Milliseconds (needed time for the last frame)
timingMode - the TimingMode to use for frameTime.