Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (21 sloc) 486 Bytes
//
// Platform.h
// chopper-hopper
//
// Created by Robert Righter on 3/8/10.
// Copyright 2010 Rob Righter. All rights reserved.
//
//#import <Cocoa/Cocoa.h>
#import "cocos2d.h"
@interface Platform : NSObject {
NSInteger riseToPoint;
NSInteger X;
CCSprite *sprite;
bool goingUp;
}
-(id) initWithXPosition: (float) xpos TargetLayer: (CCLayer *) layer Tag:(NSInteger) thetag;
-(void) run;
-(bool) isGoingUp;
-(int) getRandomY;
@property (retain) CCSprite *sprite;
@end