Claw 1.7.0
Public Member Functions
claw::tween::base_tweener Class Reference

Common interface for all tweeners. More...

#include <base_tweener.hpp>

Inheritance diagram for claw::tween::base_tweener:
claw::tween::single_tweener claw::tween::tweener_group claw::tween::tweener_sequence

List of all members.

Public Member Functions

virtual ~base_tweener ()
 Destructor.
base_tweenerclone () const
 Create a copy of this allocated with new.
bool is_finished () const
 Tell if the tweener has reached his total duration.
double update (double dt)
 Update the base_tweener of a given amount of time.

Detailed Description

Common interface for all tweeners.

Author:
Julien Jorge
See also:
C++ Tweeners

Definition at line 41 of file base_tweener.hpp.


Member Function Documentation

double claw::tween::base_tweener::update ( double  dt)

Update the base_tweener of a given amount of time.

Parameters:
dtThe duration of the update in time units since the last call.
Returns:
The amount of extra time in dt after the end of the update.

Definition at line 66 of file base_tweener.cpp.

References CLAW_POSTCOND, and CLAW_PRECOND.


The documentation for this class was generated from the following files: