public interface

TweenEquation

casmi.tween.TweenEquation
Known Indirect Subclasses

Class Overview

Base class for every easing equation. You can create your own equations and directly use them in the Tween static methods by deriving from this class.

Summary

Public Methods
abstract double compute(double t, double b, double c, double d)
Computes the next value of the interpolation.

Public Methods

public abstract double compute (double t, double b, double c, double d)

Computes the next value of the interpolation.

Parameters
t Current time, in seconds.
b Initial value.
c Offset to the initial value.
d Total duration, in seconds.
Returns
  • float