Skip to content

Commit abda6bb

Browse files
committed
Getting rid of CCTiledMapLayer_Private.h
1 parent 6c15244 commit abda6bb

File tree

4 files changed

+7
-41
lines changed

4 files changed

+7
-41
lines changed

cocos2d-ext/TileMaps/CCTiledMap.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#import "CCTextureCache.h"
3838
#import "Support/CGPointExtension.h"
3939

40-
#import "CCTiledMapLayer_Private.h"
41-
4240
#pragma mark -
4341
#pragma mark CCTMXTiledMap
4442

cocos2d-ext/TileMaps/CCTiledMapLayer.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
will turn them all into sprites, possibly adding a significant memory overhead.
4141
*/
4242

43+
typedef void (^CCTiledMapLayerAnimationBlock)(NSUInteger tileX, NSUInteger tileY, uint32_t *gid, uint32_t *flags, GLKVector4 *color);
44+
4345
@interface CCTiledMapLayer : CCNode<CCShaderProtocol, CCTextureProtocol, CCBlendProtocol>
4446

4547
/// -----------------------------------------------------------------------
@@ -201,4 +203,9 @@
201203
*/
202204
-(void) addChild:(CCNode*)node z:(NSInteger)z tag:(NSInteger)tag;
203205

206+
@property(nonatomic, copy) CCTiledMapLayerAnimationBlock animationBlock;
207+
208+
// Setup the tiles.
209+
-(void) setupTiles;
210+
204211
@end

cocos2d-ext/TileMaps/CCTiledMapLayer.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
#import "CCTextureCache.h"
3838
#import "CCShader.h"
3939
#import "Support/CGPointExtension.h"
40-
#import "CCTiledMapLayer_Private.h"
4140
#import "CCTexture.h"
4241

4342
#pragma mark -

cocos2d-ext/TileMaps/CCTiledMapLayer_Private.h

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

0 commit comments

Comments
 (0)