Skip to content

Commit 3ac224b

Browse files
committed
Getting rid of CCAnimationManager_Private.h
1 parent abda6bb commit 3ac224b

File tree

5 files changed

+32
-62
lines changed

5 files changed

+32
-62
lines changed

cocos2d-ext/CCBReader/CCAnimationManager+FrameAnimation.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import "CCAnimationManager+FrameAnimation.h"
10-
#import "CCAnimationManager_Private.h"
10+
#import "CCAnimationManager.h"
1111

1212
@implementation CCAnimationManager (FrameAnimation)
1313

cocos2d-ext/CCBReader/CCAnimationManager.h

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,35 @@
129129
/// @see CCBAnimationManagerDelegate
130130
@property (nonatomic,weak) NSObject<CCBAnimationManagerDelegate>* delegate;
131131

132+
// Sequence Array
133+
@property (nonatomic,readonly) NSMutableArray* sequences;
134+
135+
136+
// Auto play sequence id.
137+
@property (nonatomic,assign) int autoPlaySequenceId;
138+
139+
// Base node.
140+
@property (nonatomic,unsafe_unretained) CCNode* rootNode;
141+
142+
// (CCB) Optional owner
143+
@property (nonatomic,unsafe_unretained) id owner;
144+
145+
// (CCB) Resolution and default container size.
146+
@property (nonatomic,assign) CGSize rootContainerSize;
147+
148+
// (CCB) Node Management
149+
- (CGSize) containerSize:(CCNode*)node;
150+
- (void) addNode:(CCNode*)node andSequences:(NSDictionary*)seq;
151+
- (void) moveAnimationsFromNode:(CCNode*)fromNode toNode:(CCNode*)toNode;
152+
153+
// Reset node state.
154+
- (void) setBaseValue:(id)value forNode:(CCNode*)node propertyName:(NSString*)propName;
155+
156+
- (void) runAnimationsForSequenceId:(int)seqId tweenDuration:(float) tweenDuration;
157+
158+
- (void)timeSeekForSequenceId:(int)seqId time:(float)time;
159+
160+
#pragma mark Simple Sequence Builder
161+
- (void)addKeyFramesForSequenceNamed:(NSString*)name propertyType:(CCBSequencePropertyType)propertyType frameArray:(NSArray*)frameArray node:(CCNode *)node loop:(BOOL)loop;
162+
132163
@end

cocos2d-ext/CCBReader/CCAnimationManager.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
*/
2424

2525
#import "CCAnimationManager.h"
26-
#import "CCAnimationManager_Private.h"
2726
#import "CCBKeyframe.h"
2827
#import "CCBSequence.h"
2928
#import "CCBSequenceProperty.h"

cocos2d-ext/CCBReader/CCAnimationManager_Private.h

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

cocos2d-ext/CCBReader/CCBReader.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#if CC_PHYSICS
3939
#import "CCPhysics+ObjectiveChipmunk.h"
4040
#endif
41-
#import "CCAnimationManager_Private.h"
4241
#if CC_EFFECTS
4342
#import "CCEffectStack.h"
4443
#endif

0 commit comments

Comments
 (0)