mirror of https://github.com/axmolengine/axmol.git
Fixed #4637: Add predefined value indication in cpp
This commit is contained in:
parent
9376c7817f
commit
7019b6e1ab
|
@ -118,7 +118,7 @@ bool Animation::init()
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Animation::initWithSpriteFrames(const Vector<SpriteFrame*>& frames, float delay, unsigned int loops)
|
||||
bool Animation::initWithSpriteFrames(const Vector<SpriteFrame*>& frames, float delay/* = 0.0f*/, unsigned int loops/* = 1*/)
|
||||
{
|
||||
_delayPerUnit = delay;
|
||||
_loops = loops;
|
||||
|
|
Loading…
Reference in New Issue