//
//  GameLayer.h
//  Caterpillar
//
//  Created by Brandon Trebitowski on 11/11/11.
//  Copyright __MyCompanyName__ 2011. All rights reserved.
//

#import "cocos2d.h"
#import "GameConfig.h"

@class Player;

@interface GameLayer : CCLayer {
    BOOL _locations[kRows][kColumns];
}

@property(nonatomic, retain) CCSpriteBatchNode *spritesBatchNode;
@property (nonatomic, retain) NSMutableArray *sprouts;
@property (nonatomic, assign) NSInteger level;
@property (nonatomic, retain) Player *player;
@property(nonatomic, retain) NSMutableArray *livesSprites;
@property (nonatomic, retain) CCLabelTTF *playerScoreLabel;
@property (nonatomic, retain) NSMutableArray *caterpillars;

+ (CCScene *) scene;

@end
