hx3d  1
2D/3D Simple Game Framework
Public Member Functions | List of all members
hx3d::tweens::Delay Class Reference

Delay tween. More...

#include <delay.hpp>

Public Member Functions

 Delay (const float delayAsSeconds)
 Create a delay tween using a specified time in seconds. More...
 
virtual void reset () override
 Reset the tween.
 
virtual void update (const float delta) override
 Update the tween. More...
 
- Public Member Functions inherited from hx3d::tweens::BaseTween
bool hasEnded ()
 Test if the tween has ended. More...
 

Additional Inherited Members

- Protected Attributes inherited from hx3d::tweens::BaseTween
bool _ended
 Has the tween ended ?
 
bool _infinite
 Is the tween infinite ?
 

Detailed Description

Delay tween.

Make a pause in a sequence.

Definition at line 34 of file delay.hpp.

Constructor & Destructor Documentation

hx3d::tweens::Delay::Delay ( const float  delayAsSeconds)

Create a delay tween using a specified time in seconds.

Parameters
delayAsSecondsDelay as seconds

Definition at line 26 of file delay.cpp.

Member Function Documentation

void hx3d::tweens::Delay::update ( const float  delta)
overridevirtual

Update the tween.

Parameters
deltaDelta time

Implements hx3d::tweens::BaseTween.

Definition at line 35 of file delay.cpp.


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