Skip to content

Commit

Permalink
CCLightning custom constructor (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
hiimjustin000 authored Sep 27, 2024
1 parent 88b573a commit 0c42076
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class CCLightning : public CCNode, public CCRGBAProtocol {
public:
CCLightning();
virtual ~CCLightning();
GEODE_CUSTOM_CONSTRUCTOR_GD(CCLightning, CCNode);

static CCLightning* lightningWithStrikePoint(CCPoint strikePoint, CCPoint strikePoint2, float duration);
static CCLightning* lightningWithStrikePoint(CCPoint strikePoint);
Expand Down Expand Up @@ -67,4 +68,4 @@ class CCLightning : public CCNode, public CCRGBAProtocol {

NS_CC_END

#endif //__CCLIGHTNING_H__
#endif //__CCLIGHTNING_H__

0 comments on commit 0c42076

Please sign in to comment.