mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Small fix.
--HG-- branch : dev-2.1
This commit is contained in:
@@ -47,7 +47,10 @@ class EE_API Interpolation1d {
|
||||
Interpolation1d& waitAndAdd( const Float& pos, const Time& waitTime, const Time& addTime );
|
||||
|
||||
/** Start the animation */
|
||||
Interpolation1d& start( OnPathEndCallback PathEndCallback = OnPathEndCallback(), OnStepCallback StepCallback = OnStepCallback() );
|
||||
Interpolation1d& start();
|
||||
|
||||
/** Start the animation */
|
||||
Interpolation1d& start( OnPathEndCallback PathEndCallback, OnStepCallback StepCallback = OnStepCallback() );
|
||||
|
||||
/** Stop the animation */
|
||||
Interpolation1d& stop();
|
||||
|
||||
@@ -47,11 +47,14 @@ class EE_API Interpolation2d {
|
||||
/** Same as add( pos, waitTime ).add( pos, addTime ); */
|
||||
Interpolation2d& waitAndAdd( const Vector2f& pos, const Time& waitTime, const Time& addTime );
|
||||
|
||||
/** Start the animation ( will reset the current state, and start from the beginning ) */
|
||||
Interpolation2d& start();
|
||||
|
||||
/** Start the animation ( will reset the current state, and start from the beginning )
|
||||
* @param PathEndCallback An optional callback fired when the animation ends.
|
||||
* @param StepCallback An optional callback that is fired every time that a step is completed.
|
||||
*/
|
||||
Interpolation2d& start( OnPathEndCallback PathEndCallback = OnPathEndCallback(), OnStepCallback StepCallback = OnStepCallback() );
|
||||
Interpolation2d& start( OnPathEndCallback PathEndCallback, OnStepCallback StepCallback = OnStepCallback() );
|
||||
|
||||
/** Stop the animation ( Enable = false ) */
|
||||
Interpolation2d& stop();
|
||||
|
||||
Reference in New Issue
Block a user