CCLightning custom constructor (#1093)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions

This commit is contained in:
Justin 2024-09-27 12:30:58 -04:00 committed by GitHub
parent 88b573acaa
commit 0c42076903
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,6 +11,7 @@ class CCLightning : public CCNode, public CCRGBAProtocol {
public: public:
CCLightning(); CCLightning();
virtual ~CCLightning(); virtual ~CCLightning();
GEODE_CUSTOM_CONSTRUCTOR_GD(CCLightning, CCNode);
static CCLightning* lightningWithStrikePoint(CCPoint strikePoint, CCPoint strikePoint2, float duration); static CCLightning* lightningWithStrikePoint(CCPoint strikePoint, CCPoint strikePoint2, float duration);
static CCLightning* lightningWithStrikePoint(CCPoint strikePoint); static CCLightning* lightningWithStrikePoint(CCPoint strikePoint);
@ -67,4 +68,4 @@ protected:
NS_CC_END NS_CC_END
#endif //__CCLIGHTNING_H__ #endif //__CCLIGHTNING_H__