RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <cactioninterval.h>
Public Member Functions | |
CScaleTo () | |
CScaleTo (float duration, float sx, float sy, float sz) | |
CScaleTo (float duration, btVector3 &scale) | |
virtual void | initWithDuration (float duration, float sx, float sy, float sz) |
virtual void | startWithTarget (CGameObject *target) |
virtual void | update (float) |
![]() | |
CActionInterval () | |
CActionInterval (float duration) | |
virtual void | initWithDuration (float duration) |
virtual bool | isDone () |
virtual void | step (float dt) |
virtual CActionInterval * | reverse () |
![]() | |
CFiniteTimeAction () | |
float | getDuration () const |
![]() | |
CAction () | |
CGameObject * | getOriginalTarget () const |
virtual void | stop () |
virtual | ~CAction () |
![]() | |
CObject () | |
CObject (const CObject &object) | |
CObject & | operator= (const CObject &object) |
CObject * | retain () |
unsigned int | release () const |
CObject * | autorelease () |
unsigned int | retainCount () const |
bool | isValidCObject () const |
virtual | ~CObject () |
Protected Attributes | |
btVector3 | m_startScale |
btVector3 | m_endScale |
btVector3 | m_deltaScale |
![]() | |
float | m_duration |
![]() | |
CGameObject * | m_originalTarget |
CGameObject * | m_target |
Additional Inherited Members | |
![]() | |
void | onActionStart (CAction *action) |
void | onActionDone (CAction *action) |
![]() | |
static void | safeRetain (void *pointer) |
template<class T > | |
static void | safeRelease (T *pointer) |
template<class T > | |
static void | safeReleaseArray (T *array) |
static void | safeRelease (const char *pointer) |
![]() | |
unsigned int | tag |
![]() | |
virtual void | copyValuesFromObject (const CObject &object) |
Definition at line 114 of file cactioninterval.h.
|
inline |
Definition at line 116 of file cactioninterval.h.
CScaleTo::CScaleTo | ( | float | duration, |
float | sx, | ||
float | sy, | ||
float | sz | ||
) |
Definition at line 228 of file cactioninterval.cpp.
CScaleTo::CScaleTo | ( | float | duration, |
btVector3 & | scale | ||
) |
Definition at line 234 of file cactioninterval.cpp.
|
virtual |
Definition at line 240 of file cactioninterval.cpp.
|
virtual |
called before the action start. It will also set the target.
Reimplemented from CActionInterval.
Reimplemented in CScaleBy.
Definition at line 247 of file cactioninterval.cpp.
|
virtual |
called once per frame. time a value between 0 and 1 For example: 0 means that the action just started 0.5 means that the action is in the middle 1 means that the action is over
Reimplemented from CAction.
Definition at line 255 of file cactioninterval.cpp.
|
protected |
Definition at line 127 of file cactioninterval.h.
|
protected |
Definition at line 126 of file cactioninterval.h.
|
protected |
Definition at line 125 of file cactioninterval.h.