#include <Action.h>
◆ Action()
template<typename T>
| Action< T >::Action |
( |
T | start, |
|
|
T | end, |
|
|
float | totalTime, |
|
|
GameObject * | actionOwner, |
|
|
std::function< void(GameObject *, const T &)> | funcToCall, |
|
|
std::function< float(float, float)> | EasingFunction = ac::LinearEase ) |
|
inline |
◆ render()
template<typename T>
| auto Action< T >::render |
( |
| ) |
const->void |
|
inline |
- Todo
- : Implement debug draw rendering
◆ setOwner()
◆ shouldRemove()
template<typename T>
| auto Action< T >::shouldRemove |
( |
| ) |
const->bool |
|
inline |
◆ update()
template<typename T>
| auto Action< T >::update |
( |
float | dt | ) |
->void |
|
inline |
- Todo
- : Figure out how to not have to check for destroyed parents in Action
◆ changingObject
◆ currentTime
template<typename T>
| float Action< T >::currentTime |
|
private |
◆ dataUpdate
◆ easingFunction
template<typename T>
| std::function<float(float, float)> Action< T >::easingFunction |
|
private |
◆ endValue
◆ startValue
◆ totalDuration
template<typename T>
| float Action< T >::totalDuration |
|
private |
The documentation for this class was generated from the following file:
- /home/egrazil/sites/Brunot/The House/source/Framework/Action.h