Skip to content

Commit 548f24a

Browse files
committed
Getting rid of CCParticleSystem_Private.h and CCParticleSystemBase_Private.h
1 parent 5e2ab92 commit 548f24a

File tree

7 files changed

+13
-76
lines changed

7 files changed

+13
-76
lines changed

cocos2d-ext/CCParticles/CCParticleBatchNode.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
#import "Support/ZipUtils.h"
4040
#import "Support/CCFileUtils.h"
4141

42-
#import "CCParticleSystemBase_Private.h"
43-
4442
#define kCCParticleDefaultCapacity 500
4543

4644
@interface CCNode()

cocos2d-ext/CCParticles/CCParticleSystem.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,13 @@
5050
*/
5151
-(void) setTexture:(CCTexture *)texture withRect:(CGRect)rect;
5252

53+
// OS X
54+
// Initilizes the texture with a rectangle measured in points.
55+
-(void) initTexCoordsWithRect:(CGRect)rect;
56+
57+
// OS X
58+
// Set sprite frame for system.
59+
-(void)setSpriteFrame:(CCSpriteFrame*)spriteFrame;
60+
5361
@end
5462

cocos2d-ext/CCParticles/CCParticleSystem.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@
4545
#import "Support/CGPointExtension.h"
4646
#import "Support/NSThread+performBlock.h"
4747

48-
#import "CCParticleSystemBase_Private.h"
49-
#import "CCParticleSystem_Private.h"
5048
#import "CCTexture.h"
5149

5250
@implementation CCParticleSystem {

cocos2d-ext/CCParticles/CCParticleSystemBase.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,5 +614,10 @@ typedef void (*_CC_UPDATE_PARTICLE_IMP)(id, SEL, _CCParticle*, CGPoint);
614614
@see rotatePerSecond */
615615
@property (nonatomic,readwrite,assign) float rotatePerSecondVar;
616616

617+
// Update.
618+
-(void) update: (CCTime) dt;
619+
620+
// System full status.
621+
-(BOOL) isFull;
617622

618623
@end

cocos2d-ext/CCParticles/CCParticleSystemBase.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@
6161
#import "Support/ZipUtils.h"
6262
#import "Support/CCFileUtils.h"
6363

64-
#import "CCParticleSystemBase_Private.h"
65-
6664
@implementation CCParticleSystemBase
6765
@synthesize active = _active, duration = _duration;
6866
@synthesize sourcePosition = _sourcePosition, posVar = _posVar;

cocos2d-ext/CCParticles/CCParticleSystemBase_Private.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

cocos2d-ext/CCParticles/CCParticleSystem_Private.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)