movements
Class HandMovementFixed

java.lang.Object
  extended bymovements.HandMovement
      extended bymovements.HandMovementFixed
All Implemented Interfaces:
java.io.Serializable

class HandMovementFixed
extends HandMovement


Field Summary
private  double forwardsOffset
           
private  ParticipantMovements participantMovements
           
private  ParticipantPosition personPosition
           
private  double sidewaysOffset
           
protected  int startTick
           
protected  int tickLength
           
 
Constructor Summary
(package private) HandMovementFixed(ParticipantMovements participantMovements, double forwardsOffset, double sidewaysOffset, int startTick, int tickLength)
           
 
Method Summary
(package private)  int getEndTick()
          DOCUMENT ME!
(package private)  void getPosition(Position position, int tick)
          Given the number of ticks into this movement, return the position where the hand is located at that time.
(package private)  int getStartTick()
          DOCUMENT ME!
(package private)  int getTickLength()
          DOCUMENT ME!
private  void readObject(java.io.ObjectInputStream in)
           
(package private)  void Trace(java.lang.String indent)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

participantMovements

private ParticipantMovements participantMovements

forwardsOffset

private double forwardsOffset

sidewaysOffset

private double sidewaysOffset

personPosition

private transient ParticipantPosition personPosition

startTick

protected int startTick

tickLength

protected int tickLength
Constructor Detail

HandMovementFixed

HandMovementFixed(ParticipantMovements participantMovements,
                  double forwardsOffset,
                  double sidewaysOffset,
                  int startTick,
                  int tickLength)
Method Detail

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getPosition

void getPosition(Position position,
                 int tick)
Description copied from class: HandMovement
Given the number of ticks into this movement, return the position where the hand is located at that time.

Specified by:
getPosition in class HandMovement
Parameters:
position - This is a return parameter and is set to the position where the hand is located.
tick - This parameter must be greater than or equal to zero and less than or equal to the number of ticks in this hand movement (the value passed in the 'ticks' parameter to the constructor).

Trace

void Trace(java.lang.String indent)
Description copied from class: HandMovement
DOCUMENT ME!

Overrides:
Trace in class HandMovement
Parameters:
indent - DOCUMENT ME!

getStartTick

int getStartTick()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getEndTick

int getEndTick()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTickLength

int getTickLength()
DOCUMENT ME!

Returns:
DOCUMENT ME!


Copyright © 2003 Nigel Westbury