org.robokind.api.animation.factory
Class MotionPathFactory

java.lang.Object
  extended by org.robokind.api.animation.factory.MotionPathFactory
All Implemented Interfaces:
org.jflux.api.core.Source<MotionPath>

public class MotionPathFactory
extends Object
implements org.jflux.api.core.Source<MotionPath>

A class for creating MotionPaths.

Author:
Matthew Stevenson

Constructor Summary
MotionPathFactory()
          Creates a MotionPathFactory with the default InterpolatorFactory.
MotionPathFactory(InterpolatorFactory factory)
          Creates a MotionPathFactory for creating MotionPaths with the given Interpolator type.
 
Method Summary
 MotionPath getValue()
          Returns a new MotionPath with the given Interpolator type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MotionPathFactory

public MotionPathFactory()
Creates a MotionPathFactory with the default InterpolatorFactory.


MotionPathFactory

public MotionPathFactory(InterpolatorFactory factory)
Creates a MotionPathFactory for creating MotionPaths with the given Interpolator type.

Parameters:
factory - the InterpolatorFactory used to create MotionPath Interpolators
Method Detail

getValue

public MotionPath getValue()
Returns a new MotionPath with the given Interpolator type.

Specified by:
getValue in interface org.jflux.api.core.Source<MotionPath>
Returns:
a new MotionPath with the given Interpolator type


Copyright © 2011-2013. All Rights Reserved.