mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-23 03:15:58 -04:00
CCLightning custom constructor (#1093)
This commit is contained in:
parent
88b573acaa
commit
0c42076903
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
@ -67,4 +68,4 @@ protected:
|
|||
|
||||
NS_CC_END
|
||||
|
||||
#endif //__CCLIGHTNING_H__
|
||||
#endif //__CCLIGHTNING_H__
|
||||
|
|
Loading…
Reference in a new issue