Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #import "Slide.h"
00011
00012 @implementation Slide
00013
00014 #pragma mark -
00015 #pragma mark Memory Allocation
00016
00020 -(void)dealloc
00021 {
00022 [background release];
00023 [super dealloc];
00024 }
00025
00026 #pragma mark -
00027 #pragma mark Initialisation
00028
00033 -(id)initWithImage:(NSString*)_imageName
00034 {
00035 self = [super init];
00036
00037 if (self != nil)
00038 {
00039 background = [CCSprite spriteWithFile:_imageName];
00040 [self addChild:background];
00041 }
00042 return self;
00043 }
00044
00045 #pragma mark -
00046
00050 -(void)update
00051 {
00052
00053 }
00054
00055 @end