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(org.jagatoo.datatypes.Placeable p1, org.jagatoo.datatypes.Placeable p2, OperationScheduler opSched)
          PlaceableConnection ensures that p1 has (nearly) always the same position/orientation as p2.
 
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(org.jagatoo.datatypes.Placeable p1,
                           org.jagatoo.datatypes.Placeable p2,
                           OperationScheduler opSched)
PlaceableConnection ensures that p1 has (nearly) always the same position/orientation as p2.

Parameters:
p1 -
p2 -
opSched -
Method Detail

breakConnection

public void breakConnection()
Specified by:
breakConnection in interface Connection

update

public void update(long gameTime,
                   long frameTime,
                   UpdatingThread.TimingMode timingMode)
Description copied from interface: Updatable
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.