void stopAnimation() { if(!_isAnimating) return; CCDebug.Log("cocos2d: animation stopped"); _displayLink.invalidate(this); _isAnimating = false; }