Skip to content

Commit

Permalink
Getting rid of CCParticleSystem_Private.h and CCParticleSystemBase_Pr…
Browse files Browse the repository at this point in the history
…ivate.h
  • Loading branch information
oxeron committed Mar 11, 2016
1 parent 5e2ab92 commit 548f24a
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 76 deletions.
2 changes: 0 additions & 2 deletions cocos2d-ext/CCParticles/CCParticleBatchNode.m
Expand Up @@ -39,8 +39,6 @@
#import "Support/ZipUtils.h"
#import "Support/CCFileUtils.h"

#import "CCParticleSystemBase_Private.h"

#define kCCParticleDefaultCapacity 500

@interface CCNode()
Expand Down
8 changes: 8 additions & 0 deletions cocos2d-ext/CCParticles/CCParticleSystem.h
Expand Up @@ -50,5 +50,13 @@
*/
-(void) setTexture:(CCTexture *)texture withRect:(CGRect)rect;

// OS X
// Initilizes the texture with a rectangle measured in points.
-(void) initTexCoordsWithRect:(CGRect)rect;

// OS X
// Set sprite frame for system.
-(void)setSpriteFrame:(CCSpriteFrame*)spriteFrame;

@end

2 changes: 0 additions & 2 deletions cocos2d-ext/CCParticles/CCParticleSystem.m
Expand Up @@ -45,8 +45,6 @@
#import "Support/CGPointExtension.h"
#import "Support/NSThread+performBlock.h"

#import "CCParticleSystemBase_Private.h"
#import "CCParticleSystem_Private.h"
#import "CCTexture.h"

@implementation CCParticleSystem {
Expand Down
5 changes: 5 additions & 0 deletions cocos2d-ext/CCParticles/CCParticleSystemBase.h
Expand Up @@ -614,5 +614,10 @@ typedef void (*_CC_UPDATE_PARTICLE_IMP)(id, SEL, _CCParticle*, CGPoint);
@see rotatePerSecond */
@property (nonatomic,readwrite,assign) float rotatePerSecondVar;

// Update.
-(void) update: (CCTime) dt;

// System full status.
-(BOOL) isFull;

@end
2 changes: 0 additions & 2 deletions cocos2d-ext/CCParticles/CCParticleSystemBase.m
Expand Up @@ -61,8 +61,6 @@
#import "Support/ZipUtils.h"
#import "Support/CCFileUtils.h"

#import "CCParticleSystemBase_Private.h"

@implementation CCParticleSystemBase
@synthesize active = _active, duration = _duration;
@synthesize sourcePosition = _sourcePosition, posVar = _posVar;
Expand Down
35 changes: 0 additions & 35 deletions cocos2d-ext/CCParticles/CCParticleSystemBase_Private.h

This file was deleted.

35 changes: 0 additions & 35 deletions cocos2d-ext/CCParticles/CCParticleSystem_Private.h

This file was deleted.

0 comments on commit 548f24a

Please sign in to comment.