mirror of https://github.com/axmolengine/axmol.git
fixed #1606: Override update function for ExtraAction.
This commit is contained in:
parent
f8c96483a0
commit
839288671e
|
@ -42,6 +42,8 @@ public:
|
|||
static ExtraAction* create();
|
||||
virtual CCObject* copyWithZone(CCZone* pZone);
|
||||
virtual ExtraAction* reverse(void);
|
||||
virtual void update(float time);
|
||||
virtual void step(float dt);
|
||||
};
|
||||
|
||||
ExtraAction* ExtraAction::create()
|
||||
|
@ -56,6 +58,7 @@ ExtraAction* ExtraAction::create()
|
|||
|
||||
CCObject* ExtraAction::copyWithZone(CCZone* pZone)
|
||||
{
|
||||
CC_UNUSED_PARAM(pZone);
|
||||
ExtraAction* pRet = new ExtraAction();
|
||||
return pRet;
|
||||
}
|
||||
|
@ -65,6 +68,16 @@ ExtraAction* ExtraAction::reverse(void)
|
|||
return ExtraAction::create();
|
||||
}
|
||||
|
||||
void ExtraAction::update(float time)
|
||||
{
|
||||
CC_UNUSED_PARAM(time);
|
||||
}
|
||||
|
||||
void ExtraAction::step(float dt)
|
||||
{
|
||||
CC_UNUSED_PARAM(dt);
|
||||
}
|
||||
|
||||
//
|
||||
// IntervalAction
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue