Exemplo n.º 1
0
Wave* Wave::clone(void) const {
	auto a = new Wave();
	a->initWithDuration(_duration, _gridSize, _waves, _amplitude, _horizontal, _vertical);
	a->autorelease();

	return a;
}
Exemplo n.º 2
0
FadeTo* FadeTo::clone() const
{
	// no copy constructor
	auto a = new FadeTo();
	a->initWithDuration(_duration, _toOpacity);
	a->autorelease();
	return a;
}
SplitCols* SplitCols::clone() const
{
	// no copy constructor	
	auto a = new SplitCols();
    a->initWithDuration(_duration, _cols);
	a->autorelease();
	return a;
}
ShakyTiles3D* ShakyTiles3D::clone() const
{
	// no copy constructor	
	auto a = new ShakyTiles3D();
    a->initWithDuration(_duration, _gridSize, _randrange, _shakeZ);
	a->autorelease();
	return a;
}
FadeOutDownTiles* FadeOutDownTiles::clone() const
{
	// no copy constructor
	auto a = new FadeOutDownTiles();
	a->initWithDuration(_duration, _gridSize);
	a->autorelease();
	return a;
}
Exemplo n.º 6
0
PageTurn3D *PageTurn3D::clone() const
{
	// no copy constructor	
	auto a = new PageTurn3D();
	a->initWithDuration(_duration, _gridSize);
	a->autorelease();
	return a;
}
Exemplo n.º 7
0
SizeTo* SizeTo::clone() const
{
	// no copy constructor
	auto a = new (std::nothrow) SizeTo();
	a->initWithDuration(_duration, m_dstSize);
	a->autorelease();
	return a;
}
JumpTo3D* JumpTo3D::clone() const
{
	// no copy constructor
	auto a = new (std::nothrow) JumpTo3D();
    a->initWithDuration(_duration, _delta, _height, _jumps);
	a->autorelease();
	return a;
}
Exemplo n.º 9
0
Waves3D* Waves3D::clone() const
{
    // no copy constructor
    auto a = new (std::nothrow) Waves3D();
    a->initWithDuration(_duration, _gridSize, _waves, _amplitude);
    a->autorelease();
    return a;
}
Exemplo n.º 10
0
MoveTo* MoveTo::clone(void) const
{
	// no copy constructor
	auto a = new MoveTo();
    a->initWithDuration(_duration, _endPosition);
	a->autorelease();
	return a;
}
Exemplo n.º 11
0
MoveBy* MoveBy::clone(void) const
{
	// no copy constructor
	auto a = new MoveBy();
    a->initWithDuration(_duration, _positionDelta);
	a->autorelease();
	return a;
}
Exemplo n.º 12
0
RotateBy* RotateBy::clone(void) const
{
	// no copy constructor
	auto a = new RotateBy();
    a->initWithDuration(_duration, _angleX, _angleY);
	a->autorelease();
	return a;
}
Exemplo n.º 13
0
DelayTime* DelayTime::clone() const
{
	// no copy constructor
	auto a = new DelayTime();
    a->initWithDuration(_duration);
	a->autorelease();
	return a;
}
Exemplo n.º 14
0
TintBy* TintBy::clone() const
{
	// no copy constructor
	auto a = new TintBy();
	a->initWithDuration(_duration, (GLubyte)_deltaR, (GLubyte)_deltaG, (GLubyte)_deltaB);
	a->autorelease();
	return a;
}
Exemplo n.º 15
0
TintTo* TintTo::clone() const
{
	// no copy constructor
	auto a = new TintTo();
	a->initWithDuration(_duration, _to.r, _to.g, _to.b);
	a->autorelease();
	return a;
}
Exemplo n.º 16
0
Waves* Waves::clone() const
{
	// no copy constructor
	auto a = new Waves();
	a->initWithDuration(_duration, _gridSize, _waves, _amplitude, _horizontal, _vertical);
	a->autorelease();
	return a;
}
Exemplo n.º 17
0
Twirl *Twirl::clone() const
{
	// no copy constructor	
	auto a = new Twirl();
	a->initWithDuration(_duration, _gridSize, _position, _twirls, _amplitude);
	a->autorelease();
	return a;
}
Exemplo n.º 18
0
ProgressFromTo* ProgressFromTo::clone() const
{
    // no copy constructor    
    auto a = new (std::nothrow) ProgressFromTo();
    a->initWithDuration(_duration, _from, _to);
    a->autorelease();
    return a;
}
Exemplo n.º 19
0
ActionTween *ActionTween::clone() const
{
    // no copy constructor    
    auto a = new (std::nothrow) ActionTween();
    a->initWithDuration(_duration, _key.c_str(), _from, _to);
    a->autorelease();
    return a;
}
ProgressTo* ProgressTo::clone() const
{
    // no copy constructor
    auto a = new ProgressTo();
    a->initWithDuration(_duration, _to);
    a->autorelease();
    return a;
}
Exemplo n.º 21
0
RadialBlurTo* RadialBlurTo::clone() const
{
	// no copy constructor
	auto a = new (std::nothrow) RadialBlurTo();
	a->initWithDuration(_duration, m_dstStrength);
	a->autorelease();
	return a;
}
Exemplo n.º 22
0
SlideOut* SlideOut::clone(void) const
{
    // no copy constructor
    auto a = new SlideOut();
    a->initWithDuration(_duration, _offset);
    a->autorelease();
    return a;
}
Exemplo n.º 23
0
Mirror* Mirror::clone(void) const
{
	// no copy constructor
	auto a = new Mirror();
	a->initWithDuration(_duration, _times);
	a->autorelease();
	return a;
}
Exemplo n.º 24
0
Lens3D* Lens3D::clone() const
{
	// no copy constructor
	auto a = new Lens3D();
	a->initWithDuration(_duration, _gridSize, _position, _radius);
	a->autorelease();
	return a;
}
TurnOffTiles* TurnOffTiles::clone() const
{
	// no copy constructor
	auto a = new TurnOffTiles();
    a->initWithDuration(_duration, _gridSize, _seed );
	a->autorelease();
	return a;
}
Exemplo n.º 26
0
Ripple3D* Ripple3D::clone() const
{
	// no copy constructor
	auto a = new Ripple3D();
	a->initWithDuration(_duration, _gridSize, _position, _radius, _waves, _amplitude);
	a->autorelease();
	return a;
}
JumpTiles3D* JumpTiles3D::clone() const
{
	// no copy constructor
	auto a = new JumpTiles3D();
    a->initWithDuration(_duration, _gridSize, _jumps, _amplitude);
	a->autorelease();
	return a;
}
Exemplo n.º 28
0
Liquid* Liquid::clone() const
{
	// no copy constructor
	auto a = new Liquid();
	a->initWithDuration(_duration, _gridSize, _waves, _amplitude);
	a->autorelease();
	return a;
}
Exemplo n.º 29
0
OrbitCamera* OrbitCamera::clone() const
{
    // no copy constructor	
    auto a = new (std::nothrow) OrbitCamera();
    a->initWithDuration(_duration, _radius, _deltaRadius, _angleZ, _deltaAngleZ, _angleX, _deltaAngleX);
    a->autorelease();
    return a;
}
Exemplo n.º 30
0
FadeOut* FadeOut::clone() const
{
	// no copy constructor
	auto a = new FadeOut();
    a->initWithDuration(_duration);
	a->autorelease();
	return a;
}