Skip to content

Commit 3683535

Browse files
author
Thayer J Andrews
committed
CCEffects - Add default initializers to the headers for all effects
1 parent 7c17395 commit 3683535

File tree

7 files changed

+7
-0
lines changed

7 files changed

+7
-0
lines changed

cocos2d/CCEffectBloom.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @param luminanceThreshold ranges between 0.0-1.0 - defines which part of the image should be glown via a luminance factor (brightness).
2020
* A value of 0.0 will apply bloom to the whole image, a value of 1.0 will only apply bloom to the brightest part of the image.
2121
*/
22+
-(id)init;
2223
-(id)initWithPixelBlurRadius:(NSUInteger)blurRadius intensity:(float)intensity luminanceThreshold:(float)luminanceThreshold;
2324
+(id)effectWithPixelBlurRadius:(NSUInteger)blurRadius intensity:(float)intensity luminanceThreshold:(float)luminanceThreshold;
2425

cocos2d/CCEffectBrightness.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
@property (nonatomic) float brightness;
1515

16+
-(id)init;
1617
-(id)initWithBrightness:(float)brightness;
1718
+(id)effectWithBrightness:(float)brightness;
1819

cocos2d/CCEffectContrast.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
@property (nonatomic) float contrast;
1515

16+
-(id)init;
1617
-(id)initWithContrast:(float)contrast;
1718
+(id)effectWithContrast:(float)contrast;
1819

cocos2d/CCEffectGaussianBlur.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
@property (nonatomic) GLKVector2 blurDirection;
1515

16+
-(id)init;
1617
-(id)initWithPixelBlurRadius:(NSUInteger)blurRadius;
1718
+(id)effectWithPixelBlurRadius:(NSUInteger)blurRadius;
1819

cocos2d/CCEffectPixellate.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
@property (nonatomic) float blockSize;
1515

16+
-(id)init;
1617
-(id)initWithBlockSize:(float)blockSize;
1718
+(id)effectWithBlockSize:(float)blockSize;
1819

cocos2d/CCEffectRefraction.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
@property (nonatomic) CCSprite *environment;
1616
@property (nonatomic) CCSpriteFrame *normalMap;
1717

18+
-(id)init;
1819
-(id)initWithRefraction:(float)refraction environment:(CCSprite *)environment normalMap:(CCSpriteFrame *)normalMap;
1920
+(id)effectWithRefraction:(float)refraction environment:(CCSprite *)environment normalMap:(CCSpriteFrame *)normalMap;
2021

cocos2d/CCEffectSaturation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
@property (nonatomic) float saturation;
1515

16+
-(id)init;
1617
-(id)initWithSaturation:(float)saturation;
1718
+(id)effectWithSaturation:(float)saturation;
1819

0 commit comments

Comments
 (0)