Update CCLightning.h

This commit is contained in:
alk 2024-10-01 14:13:50 +03:00 committed by GitHub
parent dd27d06163
commit b39342a941
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ class CCLightning : public CCNode, public CCRGBAProtocol {
public:
CCLightning();
virtual ~CCLightning();
GEODE_CUSTOM_CONSTRUCTOR_COCOS(CCLightning, CCNode);
GEODE_CUSTOM_CONSTRUCTOR_GD(CCLightning, CCNode);
static CCLightning* lightningWithStrikePoint(CCPoint strikePoint, CCPoint strikePoint2, float duration);
static CCLightning* lightningWithStrikePoint(CCPoint strikePoint);