hx3d  1
2D/3D Simple Game Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
hx3d::tweens::BaseTween Class Referenceabstract

Base abstract tween. More...

#include <base_tween.hpp>

Public Member Functions

bool hasEnded ()
 Test if the tween has ended. More...
 
virtual void reset ()=0
 Reset the tween.
 
virtual void update (const float delta)=0
 Update the tween. More...
 

Protected Attributes

bool _ended
 Has the tween ended ?
 
bool _infinite
 Is the tween infinite ?
 

Detailed Description

Base abstract tween.

Definition at line 34 of file base_tween.hpp.

Member Function Documentation

bool hx3d::tweens::BaseTween::hasEnded ( )

Test if the tween has ended.

Returns
True/False

Definition at line 29 of file base_tween.cpp.

virtual void hx3d::tweens::BaseTween::update ( const float  delta)
pure virtual

Update the tween.

Parameters
deltaDelta time

Implemented in hx3d::tweens::Sequence, hx3d::tweens::Parallel, hx3d::tweens::Callback, hx3d::tweens::Tween< T >, and hx3d::tweens::Delay.


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